http://www.perlmonks.org?node_id=481918


in reply to Re: "PAR'ing" XML configs?
in thread "PAR'ing" XML configs?

Yes, but what OP needs is a way then, from the perl script, to know where the included file is in order to read it. This part of the FAQ led me to look at $ENV{PAR_TEMP} and see what the directory structure was and where the added test.txt was placed.
# pp -o a.exe -a test.txt test.pl #test.pl: open FILE, $ENV{PAR_TEMP} . "/inc/" . "test.txt"; while(<FILE>){ print; } close FILE;