Subject: | whole-name-quoted filename can't be read |
While adding support for quoted filenames (names with spaces) to Dist::Zilla, I found this bug
in ExtUtils::Manifest. If you have a filename that begins and ends with quotes, and you
enquote it as suggested, it is not properly dequoted.
use strict;
use ExtUtils::Manifest qw(maniread);
---
my $manifest_content = <<'END_MANIFEST';
'\'quoted name.txt\''
END_MANIFEST
{
open my $fh, '>', 'MANIFEST' or die;
print $fh $manifest_content;
}
my $manifest = maniread;
print "$_\n" for keys %$manifest;
---
This should print:
'quoted name.txt'
Instead, it prints:
quoted name.txt'
--
rjbs