From 3bab73c8efeef4fd85d64d0bd345e833e599ebe7 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Mon, 2 Jul 2012 12:34:10 -0700 Subject: [PATCH] perlfunc: Fix do-sub mistake do &foo() is the do-file operator on the return value of the sub, not just a sub call. --- pod/perlfunc.pod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index a3363a7..3413d29 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -1547,8 +1547,8 @@ See L for alternative strategies. =item do SUBROUTINE(LIST) X -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 -- 2.7.4