in reply to Re: Match Numeric Range
in thread Match Numeric Range
@OP
You could also write the conditional as
if ($range >= 300 and $range <= 400)
In this case it actually does not make a difference which one you use, but
andopen my $fh, '<', $filename || die;
open my $fh, '<', $filename or die;
are two totally different things due to different order of precedence. (A verbose explanation can be found at 'or' vs '', '&&' vs 'and'.)
|
---|