Re: Efficiency of multiple if statements
by
Anonymous Monk
on
May 09, 2001 at 12:02 UTC
(
replies
)
http://qs321.pair.com?node_id=79041
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
In Section
Seekers of Perl Wisdom