PAR gotcha

jplindstrom on 2005-07-22T15:12:28

Ouch!

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.