summaryrefslogtreecommitdiff
path: root/pod/perlfaq4.pod
diff options
context:
space:
mode:
authorDaniel Chetlin <daniel@chetlin.com>2000-08-03 17:22:44 -0700
committerJarkko Hietaniemi <jhi@iki.fi>2000-08-04 12:26:33 +0000
commit90fdbbb75512007b809510f03fc507ff5c145e16 (patch)
tree49ec382ac772ca6ab35d1efbd12fadd4a242db02 /pod/perlfaq4.pod
parent9300ef0fea165be49d88144848cf782932f9cfb9 (diff)
downloadperl-90fdbbb75512007b809510f03fc507ff5c145e16.tar.gz
Re: Array vs. List context
Message-ID: <20000804002244.A5924@ilmd.chetlin.org> p4raw-id: //depot/perl@6522
Diffstat (limited to 'pod/perlfaq4.pod')
-rw-r--r--pod/perlfaq4.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlfaq4.pod b/pod/perlfaq4.pod
index ecbd65243e..112b1edabf 100644
--- a/pod/perlfaq4.pod
+++ b/pod/perlfaq4.pod
@@ -370,7 +370,7 @@ you can. Is that the pencil's fault? Of course it isn't.
The date and time functions supplied with Perl (gmtime and localtime)
supply adequate information to determine the year well beyond 2000
(2038 is when trouble strikes for 32-bit machines). The year returned
-by these functions when used in an array context is the year minus 1900.
+by these functions when used in a list context is the year minus 1900.
For years between 1910 and 1999 this I<happens> to be a 2-digit decimal
number. To avoid the year 2000 problem simply do not treat the year as
a 2-digit number. It isn't.