summaryrefslogtreecommitdiff
path: root/pod/perldata.pod
diff options
context:
space:
mode:
authorCasey West <casey@geeknest.com>2003-04-25 06:46:39 -0400
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>2003-04-26 22:48:32 +0000
commit00cb5da129a8590d61ea16748bc9227b1757d0bf (patch)
tree3d5086cae2504f79a40b0b362c7248e4a5d3cdee /pod/perldata.pod
parent3272a53d8ac41fb10d7f6637e3ffc4d16e9eb861 (diff)
downloadperl-00cb5da129a8590d61ea16748bc9227b1757d0bf.tar.gz
Some doc patches by Casey West :
Subject: Re: [PATCH] Re: [perl #21260] adding error handling info to perlfunc/readline Date: Fri, 25 Apr 2003 10:46:39 -0400 Message-ID: <20030425144639.GY34510@geeknest.com> Subject: Re: [perl #21785] [PATCH] clarify readdir in for conditional From: Casey West <casey@geeknest.com> Date: Fri, 25 Apr 2003 07:52:13 -0400 Message-ID: <20030425115213.GP34510@geeknest.com> Subject: Re: [perl #7213] [PATCH] Updating example in perldata From: Casey West <casey@geeknest.com> Date: Thu, 24 Apr 2003 21:27:22 -0400 Message-ID: <20030425012722.GN34510@geeknest.com> p4raw-id: //depot/perl@19344
Diffstat (limited to 'pod/perldata.pod')
-rw-r--r--pod/perldata.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perldata.pod b/pod/perldata.pod
index 8e2e177e33..572058924f 100644
--- a/pod/perldata.pod
+++ b/pod/perldata.pod
@@ -644,7 +644,7 @@ values of the array or hash.
foreach (@array[ 4 .. 10 ]) { s/peter/paul/ }
- foreach (@hash{keys %hash}) {
+ foreach (@hash{qw[key1 key2]}) {
s/^\s+//; # trim leading whitespace
s/\s+$//; # trim trailing whitespace
s/(\w+)/\u\L$1/g; # "titlecase" words