Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ModPerl: Embperl

Package "don't cleanup" help needed

 

 

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded


mike at orb

May 18, 2006, 7:50 AM

Post #1 of 5 (1835 views)
Permalink
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 [at] perl
For additional commands, e-mail: embperl-help [at] perl


richter at ecos

May 19, 2006, 3:48 PM

Post #2 of 5 (1715 views)
Permalink
RE: Package "don't cleanup" help needed [In reply to]

>
> 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 [at] perl
For additional commands, e-mail: embperl-help [at] perl


mike at orb

May 19, 2006, 5:17 PM

Post #3 of 5 (1720 views)
Permalink
RE: Package "don't cleanup" help needed [In reply to]

> options => 1

Where is this and the values documented?

Thanks,
-Mike

--
Michael S. Muegel
Dallas, TX


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe [at] perl
For additional commands, e-mail: embperl-help [at] perl


richter at ecos

May 20, 2006, 5:01 AM

Post #4 of 5 (1713 views)
Permalink
RE: Package "don't cleanup" help needed [In reply to]

---------------------------------------------------------------------------
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 [at] ecos 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 [at] orb]
> Sent: Saturday, May 20, 2006 2:17 AM
> To: embperl [at] perl
> 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 [at] perl
> For additional commands, e-mail: embperl-help [at] perl
>
>
>
> ** Virus checked by BB-5000 Mailfilter **
> !DSPAM:446e603461058400666747!
>



** Virus checked by BB-5000 Mailfilter **


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe [at] perl
For additional commands, e-mail: embperl-help [at] perl


richter at ecos

May 20, 2006, 5:02 AM

Post #5 of 5 (1716 views)
Permalink
RE: Package "don't cleanup" help needed [In reply to]

>
> > 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 [at] perl
For additional commands, e-mail: embperl-help [at] perl

ModPerl embperl RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.