in reply to (jeffa) Re: Removing Duplicates in an array?
in thread Removing Duplicates in an array?
Is it just me, or does the FAQ title 'How can I extract just the unique elements of an array?' not actually convey what the solution does accurately?
The unique elements of ("fish","bread","eggs","eggs","fish","butter") are ("bread","butter").
And as a quick golf question: how would you extract the genuinely unique elements of a list?
Tiefling
The unique elements of ("fish","bread","eggs","eggs","fish","butter") are ("bread","butter").
And as a quick golf question: how would you extract the genuinely unique elements of a list?
Tiefling
-----BEGIN GEEK CODE BLOCK----- Version: 3.1 GAT d++ s:- a-- C++ UL P++ L++(+) E? W+(++) N+ o? K w+(--) !O M- V? PS+ PE- Y PGP- t+ 5 X+ R+++ tv- b+++ DI++++ D+ G+ e++ h!(-) y +? ------END GEEK CODE BLOCK------
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: (jeffa) Re: Removing Duplicates in an array?
by davorg (Chancellor) on Jun 26, 2001 at 17:53 UTC | |
Re:{3} Removing Duplicates in an array?
by jeroenes (Priest) on Jun 26, 2001 at 19:36 UTC | |
by Tiefling (Monk) on Jun 26, 2001 at 20:11 UTC | |
by MeowChow (Vicar) on Jun 27, 2001 at 11:16 UTC | |
Re: Re: (jeffa) Re: Removing Duplicates in an array?
by MeowChow (Vicar) on Jun 26, 2001 at 21:35 UTC |
In Section
Seekers of Perl Wisdom