![]() |
|
Don't ask to ask, just ask | |
PerlMonks |
Re: testing more than one item for equalityby Hofmator (Curate) |
on Oct 18, 2006 at 11:40 UTC ( #579040=note: print w/replies, xml ) | Need Help?? |
No, there is no more direct way to achieve that, afaik. You could get rid of the $result variable like this
or of course write
-- Hofmator Code written by Hofmator and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.
In Section
Seekers of Perl Wisdom
|
|