If quotewords is passed a string that ends with a space (including the string " " itself), it will return an undef as last value. This is not useful for nor expected by ExtUtils::Liblist::Kid. Instead, this changes it to use shellwords, which returns an empty list in this case.
If
quotewords
is passed a string that ends with a space (including the string" "
itself), it will return anundef
as last value. This is not useful for nor expected byExtUtils::Liblist::Kid
. Instead, this changes it to useshellwords
, which returns an empty list in this case.This fixes #391