cheako has asked for the wisdom of the Perl Monks concerning the following question:
Producesour $cookingcounter = 350883; our $garlicbreadheadstart = 600; our $ovenempty = 0; my $holdtime = 0; if ( !$ovenempty || $test && ( 0 <= ( $holdtime = $cookingcounter + 60 * 90 - 356400 ) || 0 <= ( $holdtime = $cookingcounter + ( $garlicbreadheadstart - 60 * ( 60 + 15 ) ) - 356400 ) ) ) { die sprintf 'Main Dish or Appetizer Cooking: %d, hold for %d', $cookingcounter, $holdtime; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Lazy conditional, skips assignment.
by roboticus (Chancellor) on Mar 25, 2015 at 19:50 UTC | |
|
Re: Lazy conditional, skips assignment.
by hdb (Monsignor) on Mar 25, 2015 at 20:00 UTC | |
|
Re: Lazy conditional, skips assignment.
by Laurent_R (Canon) on Mar 25, 2015 at 21:56 UTC | |
|
Re: Lazy conditional, skips assignment.
by vinoth.ree (Monsignor) on Mar 25, 2015 at 20:11 UTC | |
|
Re: Lazy conditional, skips assignment.
by locked_user sundialsvc4 (Abbot) on Mar 25, 2015 at 20:12 UTC |