no warnings qw(uninitialized numeric); print "\$x is a number ($x) is either 1, 2, 3, 4, or 5.\n" if grep {$x == $_} (1 .. 5);
Open source softwares? Share and enjoy. Make profit from them if you can. Yet, share and enjoy!
In reply to Re: Quicker way to do this IF statement 1-5
by naikonta
in thread Quicker way to do this IF statement 1-5
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |