in reply to idiom for ( 1 < $foo < 10) ?
Oh, you want an idiom? How about...
grep int $foo == $_, 1..9 or die; [download]
And yes, I know, this screws up the 1 < x part...
MeowChow s aamecha.s a..a\u$&owag.print