[perl #40272] subroutine call with & in perlop example
authoryath-perlbug@yath.de <yath-perlbug@yath.de>
Sun, 3 Sep 2006 13:03:28 +0000 (06:03 -0700)
committerRafael Garcia-Suarez <rgarciasuarez@gmail.com>
Mon, 4 Sep 2006 14:53:00 +0000 (14:53 +0000)
From: yath-perlbug@yath.de (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.5.HEAD-31251-1157313807-430.40272-75-0@perl.org>

p4raw-id: //depot/perl@28781

pod/perlop.pod

index 3a8de2a..1993853 100644 (file)
@@ -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