Can I change this functions somehow to work also with numeric values (without getting any warnings of course)?, or I must write a function for numeric values alsosub isListMember { my ($array, $item) = @_; # array ref, item for (@{$array}) { return $TRUE if ($_ eq $item); # the problematic comperison } return $FALSE; }
In reply to Is list member by hotshot
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |