Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Many matches to an array

by hsinclai (Deacon)
on Jul 15, 2004 at 11:53 UTC ( [id://374621]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Many matches to an array
in thread Many matches to an array

maybe start with

my @content = get_content($url); foreach my $var ( @content ) { next if $var =~ / undesirable regex /; $var =~ / your regex / && do something; .. }
I think this is what Paulster2 means.. at least now the @content you fetched is going to get processed line by line..

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://374621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2024-04-25 07:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found