in reply to Reading an array with a single value (My 2nd completed script!)

An alternative to the
if ($in > $numb) { print "Too high! "; }else{ print "Too low! "; }
construct is to use the trinary operator:
print 'Too ', ($in > $numb) ? 'high!' : 'low!';