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
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