Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Checking number of values returnedby BrowserUk (Patriarch) |
on Feb 08, 2015 at 14:39 UTC ( [id://1115921]=note: print w/replies, xml ) | Need Help?? |
I'd say that unless you habitually and religiously always assign your functions to individual scalars, eg: my( $x, $y, $z ) = yourfunc();, then there is no way to do this check. If you assign your function to:
then there is no way to know how many values it should return. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
I'm with torvalds on this
In the absence of evidence, opinion is indistinguishable from prejudice. Agile (and TDD) debunked
In Section
Seekers of Perl Wisdom
|
|