Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: waitpidChapter 5
Function Reference
Next: Reference: warn
 

wantarray

wantarray

Returns true if the context of the currently executing subroutine is looking for a list value. The function returns false if the context is looking for a scalar. May also return undef if a subroutine's return value is not going to be used at all.


Previous: Reference: waitpidPerl in a NutshellNext: Reference: warn
Reference: waitpidBook IndexReference: warn