in reply to
Efficiency of multiple if statements
It may be more efficient to do the regex tests first, and short circuit the more expensive file test
Comment on
Re: Efficiency of multiple if statements
In Section
Seekers of Perl Wisdom