From: yath-perlbug@yath.de Date: Sun, 3 Sep 2006 13:03:28 +0000 (-0700) Subject: [perl #40272] subroutine call with & in perlop example X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=023a2b404cea6fcd66ed3d6fd7f27663e85c4093;p=p5sagit%2Fp5-mst-13.2.git [perl #40272] subroutine call with & in perlop example From: yath-perlbug@yath.de (via RT) Message-ID: p4raw-id: //depot/perl@28781 --- diff --git a/pod/perlop.pod b/pod/perlop.pod index 3a8de2a..1993853 100644 --- a/pod/perlop.pod +++ b/pod/perlop.pod @@ -1507,7 +1507,7 @@ Examples: s/%(.)/$percent{$1}/g; # change percent escapes; no /e s/%(.)/$percent{$1} || $&/ge; # expr now, so /e - s/^=(\w+)/&pod($1)/ge; # use function call + s/^=(\w+)/pod($1)/ge; # use function call # expand variables in $_, but dynamics only, using # symbolic dereferencing