Thanks, leocharre.
What if @array was populated like this:Does it still make sense to use "eq" and compare each of the elements of @array with '1' ? ie. if ($var eq '1');my @array = (1 .. 9); # real numbers push(@array, '#');
In reply to Re^2: Is this bad coding style?
by Anonymous Monk
in thread Is this bad coding style?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |