in reply to Re^2: Many matches to an array
in thread Many matches to an array
I think this is what Paulster2 means.. at least now the @content you fetched is going to get processed line by line..my @content = get_content($url); foreach my $var ( @content ) { next if $var =~ / undesirable regex /; $var =~ / your regex / && do something; .. }
|
|---|