summaryrefslogtreecommitdiff
path: root/pod/perltrap.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1998-05-29 02:31:44 +0000
committerGurusamy Sarathy <gsar@cpan.org>1998-05-29 02:31:44 +0000
commit1d2dff63f533f62282a700198c67c41dcb6ad6df (patch)
tree7eac820768f3a944fd0395294df59cec1ad9bedc /pod/perltrap.pod
parentbe44fb0e48bd19a864cf6b6d066beef8e960db7d (diff)
downloadperl-1d2dff63f533f62282a700198c67c41dcb6ad6df.tar.gz
[win32] merge changes#1014,1038 from maintbranch
p4raw-link: @1038 on //depot/maint-5.004/perl: c3cf4c2be38f0215f451c3dd6cb13089e5f2329f p4raw-link: @1014 on //depot/maint-5.004/perl: d14230f9721c31ac6e9e2fdb706c7fc95118b4e6 p4raw-id: //depot/win32/perl@1052
Diffstat (limited to 'pod/perltrap.pod')
-rw-r--r--pod/perltrap.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perltrap.pod b/pod/perltrap.pod
index 9d861e3ae5..4159777146 100644
--- a/pod/perltrap.pod
+++ b/pod/perltrap.pod
@@ -451,8 +451,8 @@ Also see precedence traps, for parsing C<$:>.
The second and third arguments of C<splice()> are now evaluated in scalar
context (as the Camel says) rather than list context.
- sub sub1{return(0,2) } # return a 2-elem array
- sub sub2{ return(1,2,3)} # return a 3-elem array
+ sub sub1{return(0,2) } # return a 2-element list
+ sub sub2{ return(1,2,3)} # return a 3-element list
@a1 = ("a","b","c","d","e");
@a2 = splice(@a1,&sub1,&sub2);
print join(' ',@a2),"\n";