X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlcall.pod;h=2b837808a19ad9c398e4321e919dbfb8afdc72d3;hb=2b5ab1e742ea1b1374dcea7f6f90ef5c5cf29914;hp=e3e02de613c2cd3fb01c4bc9b0ee37c22c69818e;hpb=2d8e6c8d50eaf50f663a5fd184404c73944226e0;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlcall.pod b/pod/perlcall.pod index e3e02de..2b83780 100644 --- a/pod/perlcall.pod +++ b/pod/perlcall.pod @@ -72,7 +72,7 @@ Each of the functions will now be discussed in turn. =over 5 -=item B +=item perl_call_sv I takes two parameters, the first, C, is an SV*. This allows you to specify the Perl subroutine to be called either as a @@ -80,7 +80,7 @@ C string (which has first been converted to an SV) or a reference to a subroutine. The section, I, shows how you can make use of I. -=item B +=item perl_call_pv The function, I, is similar to I except it expects its first parameter to be a C char* which identifies the Perl @@ -88,7 +88,7 @@ subroutine you want to call, e.g., C. If the subroutine you want to call is in another package, just include the package name in the string, e.g., C<"pkg::fred">. -=item B +=item perl_call_method The function I is used to call a method from a Perl class. The parameter C corresponds to the name of the method @@ -99,7 +99,7 @@ object (for a virtual method). See L for more information on static and virtual methods and L for an example of using I. -=item B +=item perl_call_argv I calls the Perl subroutine specified by the C string stored in the C parameter. It also takes the usual C @@ -1925,8 +1925,8 @@ refers to the last. =head2 Creating and calling an anonymous subroutine in C As we've already shown, C 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 +anonymous subroutine. However, our example showed a Perl script +invoking an XSUB to perform this operation. Let's see how it can be done inside our C code: ...