Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
reports Sun Sep 21 21:51:53 2003 upon execution when the time is actually 4:51pm.#!/usr/bin/perl use locale; my $currentTime = gmtime; print "$currentTime\n";
When I issue:
I find that that d_setlocale='define';. What have I missed in the documentation?perl -V:d_setlocale
Thanks.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: correctly reporting time?
by Zaxo (Archbishop) on Sep 22, 2003 at 00:01 UTC | |
by Anonymous Monk on Sep 22, 2003 at 00:28 UTC | |
|
Re: correctly reporting time?
by The Mad Hatter (Priest) on Sep 22, 2003 at 00:02 UTC |