Hello, All:

Is there a simple way to find if a variable's value is within a range? 
e.g.,

  if (1 < $x < 5) { print 'foo'; }

....or do I have to join two separate comparisons using the logical AND 
operator? e.g.,

  if (1 < $x and $x < 5) { print 'foo'; }

-- 
Eric P.
Sunnyvale, CA


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to