projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b448305
)
perlfunc: Fix do-sub mistake
author
Father Chrysostomos
<sprout@cpan.org>
Mon, 2 Jul 2012 19:34:10 +0000
(12:34 -0700)
committer
Father Chrysostomos
<sprout@cpan.org>
Tue, 3 Jul 2012 05:40:28 +0000
(22:40 -0700)
do &foo() is the do-file operator on the return value of the sub,
not just a sub call.
pod/perlfunc.pod
patch
|
blob
|
history
diff --git
a/pod/perlfunc.pod
b/pod/perlfunc.pod
index
a3363a7
..
3413d29
100644
(file)
--- a/
pod/perlfunc.pod
+++ b/
pod/perlfunc.pod
@@
-1547,8
+1547,8
@@
See L<perlsyn> for alternative strategies.
=item do SUBROUTINE(LIST)
X<do>
-This form of subroutine call is deprecated. SUBROUTINE can be a bareword
,
-
a scalar variable or a subroutine beginning with C<&>
.
+This form of subroutine call is deprecated. SUBROUTINE can be a bareword
+
or scalar variable
.
=item do EXPR
X<do>