) [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006
11:25 AM
To: Tyler; modperl@perl.apache.org
Subject: RE: Using ENV{'TZ'} in
mod_perl
If you're using a perl compiled with
thread support, you'll need to call POSIX::tzset() after setting $ENV{TZ}.
From: Tyler
[mailto
From: Tyler [mailto:[EMAIL PROTECTED] Hello,
I previously requested some help with setting $ENV{TZ} and using
it’s value to modify the output of localtime (i.e. Make it time
zone specific). The suggested solution was to use POSIX::tzset()
because my perl installation was compiled with
code in a PerlFixUpHandler that sets the time zone
data?
Thank you for your help,
Tyler Fullerton.
From: Garrett, Philip
(MAN-Corporate) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 03, 2006
11:14 AM
To: Tyler; modperl@perl.apache.org
Subject: RE: Using ENV{'TZ'} in
mod_perl
Tyler Fullerton wrote:
If I have the following script: www.somewhere.com/e3/datetz.cgi (where
e3 is using PerlRun) that does the following:
$ENV{'TZ'} = 'US/Eastern';
POSIX::tzset();
my @time = localtime();
my $time = time();
$ENV{'TZ'} = 'US/Pacific';
POSIX::tzset();
# I would
PROTECTED]
Sent: Tuesday, October 03, 2006 12:30 PM
To: Tyler; modperl@perl.apache.org
Subject: RE: Using ENV{'TZ'} in mod_perl
Tyler Fullerton wrote:
If I have the following script: www.somewhere.com/e3/datetz.cgi (where
e3 is using PerlRun) that does the following:
$ENV{'TZ'} = 'US
Tyler wrote:
Another thing I just noticed is that you ran your tests under
Apache::PerlRun, my mod_perl installation is using as its
PerlResponseHandler ModPerl::PerlRun. What's the difference between
the two?
Apache::PerlRun is the mod_perl 1 module, ModPerl::PerlRun is for
mod_perl 2.
Hello,
I have a script that use to use the value in the environment variable ENV{TZ}
to modify the output of the perl builtin localtime. In other words, Id
do something like this:
$ENV{TZ} = US/Eastern;
@time = localtime();
This use to give me the localtime in whatever timezone
If you're using a perl compiled with thread support, you'll
need to call POSIX::tzset() after setting $ENV{TZ}.
From: Tyler [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 2:09 PMTo:
modperl@perl.apache.orgSubject: Using ENV{'TZ'} in
mod_perl
Hello,
I