in reply to Re^3: Quicker way to do this IF statement 1-5
in thread Quicker way to do this IF statement 1-5

Nope:

spock:~ [21:48:04]$ perl -lne '($_+0) =~ /[1-5]/ and print "\$_ is ok" +' 0 3 $_ is ok 145 $_ is ok

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.