I am fairly new to perl and learning slowly but surely, but can't figure it out please can someone help? Thank youmy (@Category_Link)=$main_page=~m!<a href="http://www.testsite.co.uk/i +tm/(.+?)"!sg; for my $temp_page (@Category_Link) { my @uniq = grep $temp_page{$_}++, @Category_Link; print OUT "http://www.testsite.co.uk/itm/$temp_page\n"; }
In reply to Remove duplicates by perlnoobster
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |