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

Re: Eliminate exact duplicates from array of hashes

by johngg (Canon)
on Oct 09, 2019 at 22:29 UTC ( [id://11107271]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use 5.026;
    use warnings;
    ...
       ->new( [ \ @unique ], [ qw{ *unique } ] )
       ->Sortkeys( 1 )
       ->Dumpxs();
    
  2. or download this
    @unique = (
                {
    ...
                  'Tag2' => 'a'
                }
              );
    

Log In?
Username:
Password:

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

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

    No recent polls found