Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

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

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 =]


Edit: chipmunk 2001-03-30

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (5)
As of 2023-02-04 22:12 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (31 votes). Check out past polls.