Skip to content

Commit

Permalink
perlcall: Note that plain GIMME is deprecated
Browse files Browse the repository at this point in the history
Don't mention it without also mentioning that it is deprecated to use.
  • Loading branch information
khwilliamson committed Aug 23, 2024
1 parent ea711ed commit ce566bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pod/perlcall.pod
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ executing subroutine in Perl with I<wantarray>. The equivalent test
can be made in C by using the C<GIMME_V> macro, which returns
C<G_LIST> if you have been called in a list context, C<G_SCALAR> if
in a scalar context, or C<G_VOID> if in a void context (i.e., the
return value will not be used). An older version of this macro is
return value will not be used). A deprecated older version of this macro is
called C<GIMME>; in a void context it returns C<G_SCALAR> instead of
C<G_VOID>. An example of using the C<GIMME_V> macro is shown in
section L</Using GIMME_V>.
Expand Down

0 comments on commit ce566bb

Please sign in to comment.