c has asked for the wisdom of the Perl Monks concerning the following question:
My concern is that the script goes through the regex check even if the value $regex doesnt exist. I worry that this will consume some run time since the script would be performing a regex check on each entry even though its necessary. The larger block of code this is contained within is:
humbly -c
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: multiple checks on a conditional
by rchiav (Deacon) on Aug 28, 2001 at 20:35 UTC | |
|
Re: multiple checks on a conditional
by lestrrat (Deacon) on Aug 28, 2001 at 20:37 UTC | |
|
Re: multiple checks on a conditional
by dvergin (Monsignor) on Aug 28, 2001 at 21:06 UTC |