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;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: "PAR'ing" XML configs?
by guice (Scribe) on Aug 08, 2005 at 16:13 UTC |
In Section
Seekers of Perl Wisdom