Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Find unique elements in an array

by dragonchild (Archbishop)
on Apr 05, 2004 at 03:14 UTC ( #342560=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    sub unique { my %x; @x{@_} = @_; values %x }
    
  2. or download this
    my @final =
        map {
    ...
        } map {
            # Something
        } @start;
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://342560]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2020-02-18 16:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What numbers are you going to focus on primarily in 2020?










    Results (76 votes). Check out past polls.

    Notices?