summaryrefslogtreecommitdiff
path: root/pod/perlsyn.pod
diff options
context:
space:
mode:
authorJohn Borwick <jhborwic@unity.ncsu.edu>2000-06-02 10:35:03 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2000-06-03 14:41:30 +0000
commit1f950eb4f39b89f547d5802df0c94526d900d2f2 (patch)
tree579422d2f47e6c55488efd2e5f8398f514282cb0 /pod/perlsyn.pod
parentd653c6f5cfd47fd6d82c68d8013461da4731be40 (diff)
downloadperl-1f950eb4f39b89f547d5802df0c94526d900d2f2.tar.gz
[ID 20000602.005] [PATCH]5.6.0 (DOC) tiny change to perlsyn.pod
Message-Id: <Pine.GSO.4.21.0006021420290.11432-100000@eos00du.eos.ncsu.edu> p4raw-id: //depot/cfgperl@6197
Diffstat (limited to 'pod/perlsyn.pod')
-rw-r--r--pod/perlsyn.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod
index a65b4cd263..6d820b6882 100644
--- a/pod/perlsyn.pod
+++ b/pod/perlsyn.pod
@@ -53,8 +53,8 @@ subroutine without defining it by saying C<sub name>, thus:
sub myname;
$me = myname $0 or die "can't get myname";
-Note that my() functions as a list operator, not as a unary operator; so
-be careful to use C<or> instead of C<||> in this case. However, if
+Note that myname() functions as a list operator, not as a unary operator;
+so be careful to use C<or> instead of C<||> in this case. However, if
you were to declare the subroutine as C<sub myname ($)>, then
C<myname> would function as a unary operator, so either C<or> or
C<||> would work.