in reply to
long if statements... What's the best way?
When something looks like that, I use a regex:
if ($var =~ /^[ab...]$/)
[download]
--
Wade
Comment on
Re: long if statements... What's the best way?
Download
Code
In Section
Seekers of Perl Wisdom