There's more than one way to do things | |
PerlMonks |
Re: ENV{TZ} and localtime? (inconsistent time in child script)by gam3 (Curate) |
on Sep 06, 2007 at 15:51 UTC ( [id://637462]=note: print w/replies, xml ) | Need Help?? |
Works on linux.
I assume that TZ must be being set when perl is run.
One thing that you could do is run perl from a batch file and set TZ in that.
-- gam3 A picture is worth a thousand words, but takes 200K.
In Section
Seekers of Perl Wisdom
|
|