On Sun, 2 Jun 2002, Stas Bekman wrote:
 
> MP_perl_global_entries[] = {
>      {"END",    MP_GLOBAL_OFFSET(end),    MP_GLOBAL_AVCV}, /* END */
> 
> What's global END()? I thought END always belong to some namespace.

nope.  PL_endav is global.
 
>      {"ENV",    MP_GLOBAL_OFFSET(env),    MP_GLOBAL_GVHV}, /* %ENV */
>      {"INC",    MP_GLOBAL_OFFSET(inc),    MP_GLOBAL_GVAV}, /* @INC */
>      {"STDOUT", MP_GLOBAL_OFFSET(defout), MP_GLOBAL_GVIO}, /* $| */
>      {"/",      MP_GLOBAL_OFFSET(rs),     MP_GLOBAL_SVPV}, /* $/ */
> 
> so %ENV, @INC, $| on STDOUT and $/ are all getting reset at the end of 
> request. It's clear with %ENV and @INC, but I don't understand why the 
> latter two? why not put the responsibility of localizing these on a 
> developer?

because we do the same in 1.x.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to