Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Harvesting and Parsing HTML from other sites

by marius (Hermit)
on Mar 28, 2001 at 21:28 UTC ( #67871=note: print w/ replies, xml ) Need Help??


in reply to Re: Re: Harvesting and Parsing HTML from other sites
in thread Harvesting and Parsing HTML from other sites

hostile17,
I mentioned the /s modifier due to this, from the perlre page:

s Treat string as single line. That is, change "." to match any character whatsoever, even a newline, which it normally would not match.
But in re-reading that and your code, I found I was mistaken and you do need it incase your tags span multiple lines.. Doh! Ahh well, glad you caught the problem otherwise =]

-marius

Edit: chipmunk 2001-03-30


Comment on Re: Re: Re: Harvesting and Parsing HTML from other sites
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (5)
As of 2014-10-25 07:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (142 votes), past polls