Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: (nrd) trying to find <head> in a string

by newrisedesigns (Curate)
on Feb 05, 2003 at 05:41 UTC ( #232738=note: print w/ replies, xml ) Need Help??


in reply to trying to find <head> in a string

Some advice not-so-directly related to your problem.

If you're parsing HTML, and think (even the slightest bit) that you'll need to update your script to accommodate other tags, might I suggest HTML::TokeParser. TokeParser's a module that's good to know, and is great for making changes to strings of HTML.

For projects larger than a one-tag only parser, use TokeParser. Learning it will sharpen your skills in HTML parsing, array and hash refs, and OO module use (if you aren't familiar with them now).

John J Reiser
newrisedesigns.com


Comment on Re: (nrd) trying to find <head> in a string

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2014-10-02 12:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (56 votes), past polls