in reply to Quicker way to do this IF statement 1-5
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!
|
|---|