Oh, you want an idiom? How about...
Just kidding :-)grep int $foo == $_, 1..9 or die;
And yes, I know, this screws up the 1 < x part...
MeowChow s aamecha.s a..a\u$&owag.print
In reply to Re: idiom for
by MeowChow
in thread idiom for ( 1 < $foo < 10) ?
by tenya
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |