$seen{$item}{count}++ # to increment the Count push @urls, $item unless $seen{$item} $seen{$item}++ # To store the url #### @urls = ( { url => 'http://www.url.com', title => 'The secret to Perl', date => '@dates that were pushed', count => '5' }, { url => 'http://www.google.com/page?id=blah', title => 'Google Search results for blah', date => '01/05/10 7:44PM, 05/10/12 8:12AM', count => '2' );