summaryrefslogtreecommitdiff
path: root/pod/perlcall.pod
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2012-01-31 23:37:46 -0300
committerFather Chrysostomos <sprout@cpan.org>2012-06-27 08:32:46 -0700
commit94a37a2fb23329b83e5381bd54629ad5540459ae (patch)
treede28401e38c8861c4fea51ab43584fc4518607af /pod/perlcall.pod
parentedc523b277207196dd4e936394910c069687507a (diff)
downloadperl-94a37a2fb23329b83e5381bd54629ad5540459ae.tar.gz
perlcall: #109408
Diffstat (limited to 'pod/perlcall.pod')
-rw-r--r--pod/perlcall.pod4
1 files changed, 2 insertions, 2 deletions
diff --git a/pod/perlcall.pod b/pod/perlcall.pod
index 4c7ffc9fb2..47947631e0 100644
--- a/pod/perlcall.pod
+++ b/pod/perlcall.pod
@@ -1031,8 +1031,8 @@ Here is a snippet of XSUB which defines I<CallSubPV>.
call_pv(name, G_DISCARD|G_NOARGS);
That is fine as far as it goes. The thing is, the Perl subroutine
-can be specified as only a string. For Perl 4 this was adequate,
-but Perl 5 allows references to subroutines and anonymous subroutines.
+can be specified as only a string, however, Perl allows references
+to subroutines and anonymous subroutines.
This is where I<call_sv> is useful.
The code below for I<CallSubSV> is identical to I<CallSubPV> except