Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: extracting redundant and unique items

by bigj (Monk)
on May 14, 2003 at 19:01 UTC ( [id://258209]=note: print w/replies, xml ) Need Help??


in reply to extracting redundant and unique items

As TMTWTDI, here's a solution with the CPAN module Array::Unique.
use Array::Unique; my @orig_array = ('11','54','23','78','54','54','78'); tie my @uniq, 'Array::Unique'; @uniq = @orig_array; print "@uniq";

Greetings,
Janek

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (4)
As of 2024-04-25 19:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found