perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mike Orb" <m...@orb.dreamhost.com>
Subject Package "don't cleanup" help needed
Date Thu, 18 May 2006 14:50:14 GMT
Hi. I just started using Embperl for static site generation. So I'm using
something like:

Embperl::Execute({
      inputfile  => $template_file,
      outputfile => $outfile,
      'package' => 'MyPackage',
   });

Now I actually don't want MyPackage messed with and want my templates to
have easy access to variables defined there and they should stay between
calls. 

I can't find documentation on Execute arguments, but saw reference to the
"cleanup" argument in the Embperl manpage. But when I added cleanup => 0 it
did not seem to help. MyPackage variables were still getting clobbered.

Tanks for any tips and help! And any pointers to the docs for the Execute
method.

Thanks,
-Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message