From 023a2b404cea6fcd66ed3d6fd7f27663e85c4093 Mon Sep 17 00:00:00 2001 From: "yath-perlbug@yath.de" Date: Sun, 3 Sep 2006 06:03:28 -0700 Subject: [PATCH] [perl #40272] subroutine call with & in perlop example From: yath-perlbug@yath.de (via RT) Message-ID: p4raw-id: //depot/perl@28781 --- pod/perlop.pod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.7.4