|Perl Monk, Perl Meditation|
Script error after PARby MorayJ (Beadle)
|on Feb 12, 2013 at 22:22 UTC||Need Help??|
MorayJ has asked for the
wisdom of the Perl Monks concerning the following question:
I have a script in which I use Cwd to get the current directory (getcwd) and then open a file in that directory.
This seems to work fine when running under perl. But when I use pp on it to package it so it can run independently, it returns the message ' no such file or directory' when trying to create the file that worked before.
Is it expected for par to bring in differences, or is there something obvios I'm overlooking?
Thanks for your time