Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

jplindstrom (594)

  (email not shown publicly)

Journal of jplindstrom (594)

Friday July 22, 2005
10:12 AM

PAR gotcha

[ #25847 ]


If you have

my $config = do "config.txt";

in your code, then PAR will (correctly) think that's a module that should be bundled in the PAR archive.

And when you run the program in production, it will use the archived version (with your dev config) instead of the one in your local runtime directory...

So much for being clever.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.