This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5d81ce
)
[perl #40272] subroutine call with & in perlop example
author
yath-perlbug@yath.de
<yath-perlbug@yath.de>
Sun, 3 Sep 2006 13:03:28 +0000
(06:03 -0700)
committer
Rafael 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
patch
|
blob
|
blame
|
history
diff --git
a/pod/perlop.pod
b/pod/perlop.pod
index
3a8de2a
..
1993853
100644
(file)
--- 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