|
|
| Welcome to the Monastery | |
| PerlMonks |
Re: Fastest way to compare multiple variables?by Sifmole (Chaplain) |
| on May 15, 2001 at 21:20 UTC ( #80626=note: print w/ replies, xml ) | Need Help?? |
|
Depending on how the variables are being created, it might make sense to perform the check as the variables are being filled -- retaining last value set, and comparing it to the value you are going to be setting. This might allow you to know earlier that you need to take the alternate path; and depending on the requirements of that path allow you to avoid performing unneccessary work.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||