in reply to Re: Cleaning up HTML
in thread Cleaning up HTML
$result .= _html_tag($tagname, $attr, $attrseq);sub DeWordifyHTML() says,
Undefined subroutine &main::_html_tag called at ...I resplaced the "sub" at the top and the curly at the bottom to run, starting with,
#!/usr/bin/perl
use HTML::Parser ();
open(my $html, "<", $ARGV[0])...
Google and inspection of perl5/5.20/HTML/Parser.pm didn't help. I'm assuming the _html_tag() sub has been replaced by something else.Do you have an update for this? I realized it's 9 year old code, but I thought I'd ask.
Thanks, Art
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Cleaning up HTML
by Jenda (Abbot) on Mar 02, 2016 at 15:50 UTC |