in reply to Sheer idle curiousity . . .
unlike other examples, never assigns anything to $wait if $wait is -34.$wait = 0 unless abs($wait);
prints -34my $wait = -34; $wait = 0 unless abs($wait); print $wait;
you'll see, difference is small (I got 4%). (even through abs() is still used).$wait = 0 if abs($wait);
|
|---|