Mailing List Archive

Global escmode
Is there a global escmode for static use (Embperl::Execute)? It is a hassle
to set $escmode = 0 in any template block that needs it or might need it.

Perhaps have an option for Embperl::Execute "escmode" that sets the global
default, which can then still be overriden by $escmode. I.e.

Embperl::Execute({
inputfile => $template_file,
outputfile => $outfile,
escmode => 0
});

Thanks,
-Mike


---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org
RE: Global escmode [ In reply to ]
>
> Is there a global escmode for static use (Embperl::Execute)?
> It is a hassle to set $escmode = 0 in any template block that
> needs it or might need it.
>
> Perhaps have an option for Embperl::Execute "escmode" that
> sets the global default, which can then still be overriden by
> $escmode. I.e.
>
> Embperl::Execute({
> inputfile => $template_file,
> outputfile => $outfile,
> escmode => 0
> });
>

This works exactly the way you shown above

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