Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Answer: How can I find the contents of an HTML tag?

by davorg (Chancellor)
on Jun 21, 2000 at 12:39 UTC ( #19185=categorized answer: print w/replies, xml ) Need Help??

Q&A > data formatting > How can I find the contents of an HTML tag? - Answer contributed by davorg

Parsing HTML using regular expressions can be a complete minefield if you don't know exactly what your data will look like.

In situations like this, you're far better off using a real parser, such as HTML::Parser or one of its sub-classes.

  • Comment on Answer: How can I find the contents of an HTML tag?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2018-07-20 18:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    It has been suggested to rename Perl 6 in order to boost its marketing potential. Which name would you prefer?















    Results (439 votes). Check out past polls.

    Notices?