You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Mike Orb <mi...@orb.dreamhost.com> on 2006/05/18 16:50:14 UTC
Package "don't cleanup" help needed
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
RE: Package "don't cleanup" help needed
Posted by Gerald Richter <ri...@ecos.de>.
---------------------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: richter@ecos.de Voice: +49 6133 939-122
WWW: http://www.ecos.de/ Fax: +49 6133 939-333
---------------------------------------------------------------------------
ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------
> -----Original Message-----
> From: Mike Orb [mailto:mike@orb.dreamhost.com]
> Sent: Saturday, May 20, 2006 2:17 AM
> To: embperl@perl.apache.org
> Subject: RE: Package "don't cleanup" help needed
>
> > options => 1
>
> Where is this and the values documented?
>
http://perl.apache.org/embperl/pod/doc/Config.-page-2-.htm#sect_43
Or
perldoc Config.pod in the Embperl directory
Gerald
> Thanks,
> -Mike
>
> --
> Michael S. Muegel
> Dallas, TX
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
> For additional commands, e-mail: embperl-help@perl.apache.org
>
>
>
> ** Virus checked by BB-5000 Mailfilter **
> !DSPAM:446e603461058400666747!
>
** 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
RE: Package "don't cleanup" help needed
Posted by Gerald Richter <ri...@ecos.de>.
>
> > options => 1
>
> Where is this and the values documented?
>
http://perl.apache.org/embperl/pod/doc/Config.-page-2-.htm#sect_43
Or
perldoc Config.pod in the Embperl directory
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
RE: Package "don't cleanup" help needed
Posted by Mike Orb <mi...@orb.dreamhost.com>.
> options => 1
Where is this and the values documented?
Thanks,
-Mike
--
Michael S. Muegel
Dallas, TX
---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Package "don't cleanup" help needed
Posted by Gerald Richter <ri...@ecos.de>.
>
> 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