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

Re: finding the distinct elements in an array

by ioannis (Monsignor)
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(%@);

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://552315]
help
Chatterbox?
[stevieb]: Damn... just wasted two hours wondering why num 23 wasn't setting bit 5 in a register. I was working on the decimal, but the register holds BCD numbers. Sigh.

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (7)
As of 2018-05-22 16:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?