From: John Borwick Date: Fri, 2 Jun 2000 14:35:03 +0000 (-0400) Subject: [ID 20000602.005] [PATCH]5.6.0 (DOC) tiny change to perlsyn.pod X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=1f950eb4f39b89f547d5802df0c94526d900d2f2;p=p5sagit%2Fp5-mst-13.2.git [ID 20000602.005] [PATCH]5.6.0 (DOC) tiny change to perlsyn.pod Message-Id: p4raw-id: //depot/cfgperl@6197 --- diff --git a/pod/perlsyn.pod b/pod/perlsyn.pod index a65b4cd..6d820b6 100644 --- a/pod/perlsyn.pod +++ b/pod/perlsyn.pod @@ -53,8 +53,8 @@ subroutine without defining it by saying C, 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 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 instead of C<||> in this case. However, if you were to declare the subroutine as C, then C would function as a unary operator, so either C or C<||> would work.