perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marco Scoffier <ma...@metm.org>
Subject Re: EMBPERL_OPTIONS
Date Fri, 24 Jun 2005 01:05:36 GMT
On Fri, Jun 24, 2005 at 10:55:59AM +1000, Andrew O'Brien wrote:
>all bitmask constants and so you set the total value by adding all the
>values together and using this as the setting. A snippet from an
>httpd.conf:
>
>(This is using embperl 1.3.x on apache 1.3.x but you get the idea)
>
># optReturnError(262144) + optRawInput(16)
>#PerlSetEnv EMBPERL_OPTIONS 262160
># optRawInput(16)
>PerlSetEnv EMBPERL_OPTIONS 16
>
>This goes wherever you've defined your other embperl setup variables.
>
>If you are using a perl startup file for your perl init you can also
>access the constants directly like:
>
>$HTML::Embperl::optRawInput + $HTML::Embperl::optBlah

Thanks that was completely opaque to me before.  I guess I've been too
stressed lately to read all the fine print.  Sometimes a quick example
makes things much much more comprehensible.

Thanks,

-- 
Marco

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


Mime
View raw message