Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

(Dermot )RE: Answer: How can I find the links in HTML tags?

by Dermot (Scribe)
on Sep 24, 2000 at 23:29 UTC ( #33859=note: print w/replies, xml ) Need Help??

Bad guy, no. I don't offend that easily and your comments are in the main valid. I'm a bit embarrased that my first submission to PM went down in flames :) I have a couple of questions on the comments though:

    1. The code referred to uses 'undef $/' to facilitate
       the slurp. I should have included this in the example.
       I take it only fully valid running code should be 
       posted here. I'll do that in future.

    2. Why is binmode dubious ? I agree that ^>* is a much
       better choice for the regex.

    3. Showing my ignorance. What is re 'debug' ?

I totally agree that parsing HTML is tricky and using the modules available is definitely the way to go. I learnt that while using the above code to parse some HTML. My apologies if I didn't make that clear enough.
  • Comment on (Dermot )RE: Answer: How can I find the links in HTML tags?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (4)
As of 2020-10-23 03:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (234 votes). Check out past polls.

    Notices?