Sheer idle curiousity . . .by TheMonkWithoutVows (Novice)
|on Oct 23, 2013 at 21:32 UTC||Need Help??|
TheMonkWithoutVows has asked for the
wisdom of the Perl Monks concerning the following question:
I have a very simple bit of code where I basically want to set a var $wait value to 0 if it is a negative number and stay as is if not. This resulted in a debate with a work colleague as to which of the following lines would be faster.
so we tested . . .
and we were amazed by the results . . .. with a negative number:
with a positive number:
Two questions -