![]() |
|
Welcome to the Monastery | |
PerlMonks |
Re: conditional syntax optionsby citromatik (Curate) |
on Jun 28, 2009 at 14:30 UTC ( #775465=note: print w/replies, xml ) | Need Help?? |
The code you provide is clear and concise enough, I would stay with it. But, just for curiosity, since Perl 5.10 you can use the smart-match (~~) operator for a shorter alternative (see perlop):
citromatik
In Section
Seekers of Perl Wisdom
|
|