Subject: | pp -r does not work if created file has an absolute filename |
Using
pp -r -o /tmp/bla /tmp/bla.pl
fails with
Can't exec ".//tmp/bla": No such file or directory at
/usr/local/lib/perl5/site_perl/5.8.8/PAR/Packer.pm line 440, <DATA> line 1.
It seems to me that the line
$output = File::Spec->catfile(".", $output);
in run_pack in PAR/Packer.pm should only be executed if $output is not
absolute (i.e. File::Spec->file_name_is_absolute($output) is false).
Regards,
Slaven