On Fri, 27 Sep 2002, Jeff 'japhy' Pinyan wrote:
> On Sep 27, [EMAIL PROTECTED] said:
> >Is there a simple way to find if a variable's value is within a range?
> >  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'; }
> 
> You have to do that for now.

Many thanks!

-- 
Eric P.
Sunnyvale, CA


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

Reply via email to