summaryrefslogtreecommitdiff
path: root/pod
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-07-02 12:34:10 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-07-02 22:40:28 -0700
commit3bab73c8efeef4fd85d64d0bd345e833e599ebe7 (patch)
treee9a4622bbbcf48e87953cc15eabd110ff4b232cd /pod
parentb448305b6dd1c15337d24d7019534a018d1adc46 (diff)
downloadperl-3bab73c8efeef4fd85d64d0bd345e833e599ebe7.tar.gz
perlfunc: Fix do-sub mistake
do &foo() is the do-file operator on the return value of the sub, not just a sub call.
Diffstat (limited to 'pod')
-rw-r--r--pod/perlfunc.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod
index a3363a78aa..3413d29b11 100644
--- 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>