RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Garrett, Philip \(MAN-Corporate\)
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.

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Tyler
EMAIL 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 followin

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Garrett, Philip \(MAN-Corporate\)
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

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Tyler
ENV{'TZ'} in mod_perl   Can you post a tiny test script that reproduces your problem?   From: Tyler [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 2:06 PM To: modperl@perl.apache.org; Garrett, Philip (MAN-Corporate) Subject: RE: Using ENV{'TZ'} in

Re: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Jonathan Vanasco
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 thr

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Garrett, Philip \(MAN-Corporate\)
Can you post a tiny test script that reproduces your problem? From: Tyler [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 03, 2006 2:06 PMTo: modperl@perl.apache.org; Garrett, Philip (MAN-Corporate)Subject: RE: Using ENV{'TZ'} in mod_perl Hello, I

RE: Using ENV{'TZ'} in mod_perl

2006-10-03 Thread Tyler
-Corporate) [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}.  

RE: Using ENV{'TZ'} in mod_perl

2006-09-20 Thread Garrett, Philip \(MAN-Corporate\)
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