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.