Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Fast Way to Return Unique Array of Array

by neversaint (Deacon)
on Sep 05, 2005 at 03:00 UTC ( [id://489127]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use List::MoreUtils qw/uniq/;
    
    ...
    my @uAoA = uniq(@AoA);
    
    print Dumper \@uAoA;
    
  2. or download this
    $VAR1 = [
              ['a','b','c],
              ['a','b','d']
            ];
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://489127]
Approved by davido
Front-paged by monkfan
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found