in reply to
long if statements... What's the best way?
Use a subroutine.
My criteria for good software:
Does it work?
Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
Comment on
Re: long if statements... What's the best way?
In Section
Seekers of Perl Wisdom