X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pod%2Fperlcall.pod;h=94edd342f41e209ece65f34042b84fc9232a6a79;hb=0e06870bf080a38cda51c06c6612359afc2334e1;hp=34f442a42429be724eeddddee9c20a9136e35fad;hpb=4929bf7bc76235df307ee4ade0f6222410e8b46b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/pod/perlcall.pod b/pod/perlcall.pod index 34f442a..94edd34 100644 --- a/pod/perlcall.pod +++ b/pod/perlcall.pod @@ -201,8 +201,8 @@ As with G_SCALAR, this flag has 2 effects: =item 1. -It indicates to the subroutine being called that it is executing in an -array context (if it executes I the result will be true). +It indicates to the subroutine being called that it is executing in a +list context (if it executes I the result will be true). =item 2. @@ -355,7 +355,7 @@ use of this flag. As mentioned above, you can determine the context of the currently executing subroutine in Perl with I. The equivalent test can be made in C by using the C macro, which returns -C if you have been called in an array context, C if +C if you have been called in a list context, C if in a scalar context, or C if in a void context (i.e. the return value will not be used). An older version of this macro is called C; in a void context it returns C instead of @@ -806,7 +806,7 @@ Notes =item 1. -We wanted array context, so G_ARRAY was used. +We wanted list context, so G_ARRAY was used. =item 2. @@ -1939,7 +1939,7 @@ done inside our C code: C is used to compile the anonymous subroutine, which will be the return value as well (read more about C in -L). Once this code reference is in hand, it +L). Once this code reference is in hand, it can be mixed in with all the previous examples we've shown. =head1 SEE ALSO