Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Editing HTML files

by spivey49 (Monk)
on Jul 08, 2008 at 17:33 UTC ( #696344=note: print w/replies, xml ) Need Help??


in reply to Re: Editing HTML files
in thread Editing HTML files

Thanks Tanktalus. The problem with XHTML is the files are generated as HTML and get overwritten by another process. The problem with reg expressions is the tag values are unpredictable. I saw the same issue when glancing over the HTML:Manipulator docs. I was hoping I missed something or someone might have seen this tag format before. I'll give HTML::Parser a shot.

Replies are listed 'Best First'.
Re^3: Editing HTML files
by pc88mxer (Vicar) on Jul 08, 2008 at 17:49 UTC
    The problem with reg expressions is the tag values are unpredictable.
    Well, in that case a proper parser is a better approach.
Re^3: Editing HTML files
by Lawliet (Curate) on Jul 08, 2008 at 17:56 UTC

    If the tag values are unpredictable, use metacharacters. Then again, depending on the html files your editing, it may not work

    <(^.^-<) <(-^.^<) <(-^.^-)> (>^.^-)> (>-^.^)>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2019-12-09 12:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?