The stupid question is the question not asked | |
PerlMonks |
state preserving uniqby Chady (Priest) |
on Mar 01, 2003 at 08:50 UTC ( [id://239674]=CUFP: print w/replies, xml ) | Need Help?? |
removes duplicate lines like UNIX uniq without having to sort the lines first, and preserves the line positions keeping the first match in the list.
Back to
Cool Uses for Perl
|
|