X-Git-Url: http://git.vpit.fr/?p=perl%2Fmodules%2FSub-Op.git;a=blobdiff_plain;f=Makefile.PL;h=539884e6d8a1dafb2072d9821ff468491f21d18c;hp=a7e84dbdec4fd9d2e4c0d1adda9439ccb7814d3f;hb=b263ea7b53b7c555bb386abaa527319b011700fc;hpb=c4608b58e39347084b651ee4c3db26bf522378ea diff --git a/Makefile.PL b/Makefile.PL index a7e84db..539884e 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -80,6 +80,7 @@ WriteMakefile( open my $fh, '>', $args_dat or die "open(>$args_dat): $!"; for (@ARGV) { my $arg = $_; + $arg =~ s{\s*(['"])\s*(.*)\s*\1\s*$}{$2}s; $arg =~ s{([^=/.a-zA-Z0-9-])}{sprintf "[%d]", ord $1}ge; print $fh "$arg\n"; }