Welcome to the Monastery | |
PerlMonks |
Re: Checking return context, beyond wantarray()by iburrell (Chaplain) |
on Jul 14, 2004 at 20:21 UTC ( [id://374426]=note: print w/replies, xml ) | Need Help?? |
wantarray will return undef if the function is called in void context, when the caller is not expecting a value.
In Section
Seekers of Perl Wisdom
|
|