The stupid question is the question not asked | |
PerlMonks |
Re^2: finding unique items in an array, from a text fileby johngg (Canon) |
on Jan 13, 2009 at 23:27 UTC ( [id://736109]=note: print w/replies, xml ) | Need Help?? |
I think there might be a couple of problems with your code.
The grep solutions suggested might be better if line order is to be preserved. Something like (again, not tested).
Cheers, JohnGG
In Section
Seekers of Perl Wisdom
|
|