perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject RE: Package "don't cleanup" help needed
Date Fri, 19 May 2006 22:48:52 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.
> 

 options => 1

Gerald


 
** Virus checked by BB-5000 Mailfilter ** 


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


Mime
View raw message