Welcome to the Monastery | |
PerlMonks |
Re^3: Common hash keysby BrowserUk (Patriarch) |
on Jun 08, 2008 at 07:11 UTC ( [id://690901]=note: print w/replies, xml ) | Need Help?? |
Actually, there's no need to be careful or test for definedness. List::Util::first() returns the result of the code block, in this case the boolean return of the exists function. The values associated with the keys never come into it.
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".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|