laziness, impatience, and hubris | |
PerlMonks |
Re^3: remove duplicates with hash and grepby AnomalousMonk (Archbishop) |
on Dec 23, 2014 at 04:25 UTC ( [id://1111132]=note: print w/replies, xml ) | Need Help?? |
... now getting the list but it has not removed the duplicates. 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!
In Section
Seekers of Perl Wisdom
|
|