You present this over-simplified problem, How do I keep from printing duplicates?, but you say nothing about where the data is coming from.
The best solution is to avoid generating duplicates, if you can.
As Occam said: Entia non sunt multiplicanda praeter necessitatem.
In reply to Re: How to avoid printing duplicates
by TomDLux
in thread How to avoid printing duplicates
by perl_mystery
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |