markjugg has asked for the wisdom of the Perl Monks concerning the following question:
Now I'd like to rewrite it to be tag-based. HTML::Parser looks like it will be my friend here, and maybe even HTML::TableExtract
However, I seem to missing a simple concept with HTML::Parser-- I can't figure out how to use it edit a file in place. The logic would be: "If I've found a table cell, process it, and stick the contents and stick it back the HTML stream". Could someone provide an a barebones example of this logic to jump start me? Thanks!
-mark
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using HTML::Parser to edit files in place
by tadman (Prior) on Mar 01, 2001 at 04:41 UTC | |
by markjugg (Curate) on Mar 15, 2001 at 01:00 UTC | |
|
Re: Using HTML::Parser to edit files in place
by rpc (Monk) on Mar 01, 2001 at 04:46 UTC | |
by merlyn (Sage) on Mar 01, 2001 at 05:47 UTC | |
|
Re: Using HTML::Parser to edit files in place
by markjugg (Curate) on Mar 01, 2001 at 22:09 UTC |