Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: To Hash or to Array--Uniqueness is the question.

by CountZero (Bishop)
on Dec 02, 2005 at 09:02 UTC ( #513537=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my @x = uniq 1, 1, 2, 2, 3, 5, 3, 4; # returns 1 2 3 5 4
        my $x = uniq 1, 1, 2, 2, 3, 5, 3, 4; # returns 5
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2014-09-19 21:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (147 votes), past polls