You mention that you're calling fetchrow_hashref, which suggests you're using DBI. If this is the case, you should consider de-duping in your SQL SELECT statement rather than in your Perl code. The SQL dialect you're using might have a DISTINCT parameter that can be passed to SELECT.
If you find yourself writing Perl code to filter the results of a SQL query, it's usually a sign that the SQL query could be improved.
In reply to Re: Dulpicate data? is it worth de-duping?
by tomhukins
in thread Dulpicate data? is it worth de-duping?
by Ryszard
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |