Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: remove duplicates with hash and grep

by AnomalousMonk (Archbishop)
on Dec 23, 2014 at 04:25 UTC ( [id://1111132]=note: print w/replies, xml ) Need Help??


in reply to Re^2: remove duplicates with hash and grep
in thread remove duplicates with hash and grep

... now getting the list but it has not removed the duplicates.
...
    my @array = $1;

On every iteration through the while-loop, this statement creates a new array and initializes it with a single element: the string that was captured to $1. This string is, of course, unique!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (7)
As of 2024-03-29 01:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found