periferral has asked for the wisdom of the Perl Monks concerning the following question:

Hello monks

I have somewhat a silly question related to packaging with par packer.

I'm running this command on Mac
pp -o test test.pl

When I run, I get the message 
couldn't open res/test.png: no such file or directory at Tcl.pm line 566

I have a folder called res which contains logo_data.png. executing this code using perl test.pl works fine. However, executing after packaging seems to break.

I've tried doing
pp -a res -o test test.pl
pp -a res/logo_data.png -i test test.pl

Same error. 
I'm guessing when Tcl.pm is included, it isn't in the / folder and hence cant access /res/logo_data.png once it is packaged. But I'm not sure if that is the case.

Any help on this would be greatly appreciated
thanks

  • Comment on Packing with pp (par::packer) can't find files in directory

Replies are listed 'Best First'.
Re: Packing with pp (par::packer) can't find files in directory
by Anonymous Monk on Jul 19, 2011 at 00:36 UTC