Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: remove duplicate value in array

by borisz (Canon)
on Jul 11, 2006 at 14:03 UTC ( [id://560468]=note: print w/replies, xml ) Need Help??


in reply to remove duplicate value in array

another way is to use List::MoreUtils.
use List::MoreUtils qw/uniq/; my @uniq_array = uniq @array;
Boris

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (5)
As of 2024-04-19 16:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found