Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: need to parse a HTML file and add content to it

by metaperl (Curate)
on Jul 20, 2011 at 18:41 UTC ( [id://915713]=note: print w/replies, xml ) Need Help??


in reply to need to parse a HTML file and add content to it

I suggest HTML::Element or maybe even HTML::Seamstress, or perhaps just HTML::Element::Library. ;)



The mantra of every experienced web application developer is the same: thou shalt separate business logic from display. Ironically, almost all template engines allow violation of this separation principle, which is the very impetus for HTML template engine development.

-- Terence Parr, "Enforcing Strict Model View Separation in Template Engines"

Replies are listed 'Best First'.
Re^2: need to parse a HTML file and add content to it
by pemungkah (Priest) on Jul 21, 2011 at 01:58 UTC
    Agreed. You probably want a DOM-ish approach rather than a streamish approach.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-25 12:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found