in reply to idiom for ( 1 < $foo < 10) ?


A common way to do it? How about this:
(1 < $foo && $foo < 10) or die "$foo not in range:";
Did you have something else in mind?

HTH,
jynx