Just another Perl shrine | |
PerlMonks |
Re^3: How to use selectby ZlR (Chaplain) |
on Mar 05, 2005 at 10:21 UTC ( [id://436877]=note: print w/replies, xml ) | Need Help?? |
Ah, then what you want is a switch like statement . There's a module : switch . Or you can do it in a great number of various ways, the most common one is using a named block with last: update : don't try to be funky by using that switch module :) just use the if / last style ! See the answers by corion , holli and virtualsue !!
In Section
Seekers of Perl Wisdom
|
|