in reply to Re^2: Use of do() to run lots of perl scripts
in thread Use of do() to run lots of perl scripts
do "./stat.pl" is largely like
eval `cat stat.pl`;
except that it's more concise, runs no external processes, and keeps track of the current filename for error messages. It also differs in that code evaluated with do FILE cannot see lexicals in the enclosing scope; eval STRING does.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
---|