perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Nicol" <davidni...@gmail.com>
Subject Re: a require problem
Date Fri, 29 Aug 2008 16:59:55 GMT
On Fri, Aug 29, 2008 at 11:46 AM, Perrin Harkins <perrin@elem.com> wrote:
> On Fri, Aug 29, 2008 at 10:53 AM, Berg, Eric <eric.berg@lehman.com> wrote:

>>  eval( $file ) ...  did not successfully execute the code in $file.

that isn't supposed to.  eval( `cat $file`) should though. Or

   use Tie::Slurp;
   tie my $readfile, Tie::Slurp::Readonly => $file;
   eval $readfile;

-- 
off-topic notices are almost universally, themselves, off topic.

Mime
View raw message