perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Smith <smi...@gmail.com>
Subject Setting escmode for command line invocation
Date Fri, 08 Apr 2005 20:52:58 GMT
Hi

I'm wondering how I can set escmode for all of my command line
invocations of embperl.

In Embperl 1 I was able to do something like

$ENV{EMBPERL_ESCMODE} = 0;
HTML::Embperl::ScanEnvironment(\%req);

This seemed to mean that if I had some epl like:

[+ printSomeJavascript +]

It would not be escaped.

In v2 there's no ScanEnvironment, so how can I best achieve the same
effect, without changing all of the above to

[+ do {$escmode = 0; printSomeJavascript } +]

Thanks

Michael Smith

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


Mime
View raw message