Sure you can, this is Perl you're talking about :-)
To give you a more specific answer we would need some more info, like:
Is the files on a local server or out there on the web?
Do the format of the hidden tags always have a known format?
Can they be multi-line?
Some links to get you started:
HTML Crawler
How do I remove HTML from a string?
matching comments
/brother t0mas
| [reply] |
For the crawling part do read the link "HTML Crawler" above
Once you've identified the HTML you wish to parse think about
using HTML::Parser you can over-ride the method
$self->comment($comment)
to perform the required action when your hidden fields are encountered.
Hope this helps | [reply] |