The code used in sub script_command_file to slurp file contents leaves
ARGV as an open filehandle to the file last slurped. For pack.t this means
it cannot remove the temp files on windows due to the left-over filehandle.
Closing ARGV explicitly after each slurp fixes this issue.
+ - enable temp file deletion in pack.t on Win32
- RT #79489: %fatpacked keys need to be unix paths
0.009009 2012-08-03
$files{File::Spec::Unix->abs2rel($File::Find::name,$dir)} = do {
local (@ARGV, $/) = ($File::Find::name); <>
};
+ close ARGV;
}, $dir);
}
my $start = stripspace <<' END_START';