Perhaps try it with a hash, like this: (untested)
sub f { my %numbers ; foreach ( $q->param ) { /^([0-9]+)/ && $numbers{$1}++ ; } return keys %numbers; }
Those who know that they are profound strive for clarity. Those who
would like to seem profound to the crowd strive for obscurity.
--Friedrich Nietzsche
In reply to Re: pondering array population
by DamnDirtyApe
in thread pondering array population
by elam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |