in reply to Re: Many matches to an arrayin thread Many matches to an array
my @content = get_content($url); foreach my $var ( @content ) { next if $var =~ / undesirable regex /; $var =~ / your regex / && do something; .. } [download]