Jeff 'japhy' Pinyan wrote:
> On Apr 21, Bob Showalter said:
> > There's a Tie::Array::Unique module on CPAN which gives you a lot
> > more flexibility in handling this kind of thing.
> 
> I agree (says the author of the module).  It maintains the uniqueness
> throughout the life of the array, so you don't have to keep removing
> duplicates every time you want to add one -- it does it for you.

It also lets the user define what "uniqueness" means, overcoming the
Achilles heel of all the hash-based methods...

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to