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

Re^3: Duplicated data in array.

by LanX (Saint)
on Nov 02, 2021 at 20:35 UTC ( [id://11138351]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Duplicated data in array.
in thread Duplicated data in array.

my $out1 = [ grep { ! $seen1{ $_->{ID} }++ } @in ];

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

Log In?
Username:
Password:

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

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

    No recent polls found