mod_perl, ENV{'TZ'}, and localtime

2007-12-28 Thread Kirk Noda
Hello, I'd like to reference the Tues 03 Oct '06 thread with subject: RE: Using ENV{'TZ'} in mod_perl http://mail-archives.apache.org/mod_mbox/perl-modperl/200610.mbox/browser The thread seemed to die off. Still, is there a way to use $ENV{TZ} to modify the behavior of localtime? I get the

Re: mod_perl, ENV{'TZ'}, and localtime

2007-12-28 Thread Michael Schout
Kirk Noda wrote: > The thread seemed to die off. Still, is there a way to use $ENV{TZ} to > modify the behavior of localtime? The reason this does not work under modperl version 2.0 is because under handler "perl-script", %ENV is untied from the C environment. The localtime() function is impleme

Re: mod_perl, ENV{'TZ'}, and localtime

2007-12-30 Thread Kirk Noda
At 09:12 PM 12/28/2007, you wrote: [...] The reason this does not work under modperl version 2.0 is because under handler "perl-script", %ENV is untied from the C environment. The [...] Thanks very much, that works.