Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: finding the distinct elements in an array

by ioannis (Priest)
on May 29, 2006 at 14:35 UTC ( #552315=note: print w/ replies, xml ) Need Help??


in reply to finding the distinct elements in an array

my @a = ( 1..3, 2..3, 6, 8..9); # Extract unique elements print { @@{@a}=$,=' '; \*STDOUT} keys(%@);


Comment on Re: finding the distinct elements in an array
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2014-07-26 10:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls