Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: removing non-duplicates

by gopalr (Priest)
on Jul 12, 2005 at 05:28 UTC ( [id://474161]=note: print w/replies, xml ) Need Help??


in reply to removing non-duplicates

TIMTOWDI

use List::MoreUtils qw(uniq); use strict; my @array=<DATA>; my @array=uniq(@array); print "\n@array"; __DATA__ at12 at12 at12 at13 bn23 bn23

Log In?
Username:
Password:

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

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

    No recent polls found