Skip Menu |

This queue is for tickets about the PAR-Packer CPAN distribution.

Report information
The Basics
Id: 33355
Status: resolved
Priority: 0/
Queue: PAR-Packer

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Unimportant
Broken in: 0.977
Fixed in: (no value)



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
Fixed in svn repo (change 586).