Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Creating an array of unique numbersby a (Friar) |
on Mar 27, 2001 at 10:53 UTC ( [id://67444]=note: print w/replies, xml ) | Need Help?? |
Well, not sure where your code goes awry (though it
doesn't seem like checking the last 2, er 3 (length -2)
array entries would keep the array unique - 41 is appearing
as element 4 and 20) but how about a hash? Something
like:
a
In Section
Seekers of Perl Wisdom
|
|