diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-14 23:11:05 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1998-05-14 23:11:05 +0000 |
commit | 7b8d334a971230040a212bc5038097b3f600a094 (patch) | |
tree | e0fd6231e06e9b8f7e54aae4cec4ead51585219a /pod/perlcall.pod | |
parent | 6ee623d521a149edc6574c512fa951a192cd086a (diff) | |
download | perl-7b8d334a971230040a212bc5038097b3f600a094.tar.gz |
[win32] merge change#897 from maintbranch
p4raw-link: @897 on //depot/maint-5.004/perl: f06f9b6fc5a686f0169ee2a91b32d5e7125a44ae
p4raw-id: //depot/win32/perl@974
Diffstat (limited to 'pod/perlcall.pod')
-rw-r--r-- | pod/perlcall.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pod/perlcall.pod b/pod/perlcall.pod index 865d3bf88d..37916ae6d8 100644 --- a/pod/perlcall.pod +++ b/pod/perlcall.pod @@ -1918,7 +1918,7 @@ refers to the last. =head2 Creating and calling an anonymous subroutine in C -As we've already shown, L<perl_call_sv> can be used to invoke an +As we've already shown, C<perl_call_sv> can be used to invoke an anonymous subroutine. However, our example showed how Perl script invoking an XSUB to preform this operation. Let's see how it can be done inside our C code: @@ -1931,8 +1931,9 @@ done inside our C code: perl_call_sv(cvrv, G_VOID|G_NOARGS); -L<perlguts/perl_eval_pv> is used to compile the anonymous subroutine, which -will be the return value as well. Once this code reference is in hand, it +C<perl_eval_pv> is used to compile the anonymous subroutine, which +will be the return value as well (read more about C<perl_eval_pv> in +L<perlguts/perl_eval_pv>). Once this code reference is in hand, it can be mixed in with all the previous examples we've shown. =head1 SEE ALSO |