This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perlfunc: Fix do-sub mistake
authorFather Chrysostomos <sprout@cpan.org>
Mon, 2 Jul 2012 19:34:10 +0000 (12:34 -0700)
committerFather Chrysostomos <sprout@cpan.org>
Tue, 3 Jul 2012 05:40:28 +0000 (22:40 -0700)
commit3bab73c8efeef4fd85d64d0bd345e833e599ebe7
treee9a4622bbbcf48e87953cc15eabd110ff4b232cd
parentb448305b6dd1c15337d24d7019534a018d1adc46
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