http://www.perlmonks.org?node_id=1019369


in reply to Re: Is this reliable?
in thread Is this reliable?

Or even
    $r += ($temp > 100 ? 250 : 0);
or
    $temp > 100 and $r += 250;