Unless I don't understand your code as well as I'd like (and I might not - a. I'm new at this and b. I'm using the NEW way :), this is what I'm already doing, more or less. The problem is that your script
prints the plaintext, and I want the plaintext in a
variable - however that can be accomplished.
I tried this:
my $HTMLParser = HTML::Parser->new(text_h => [sub {return shift;}, "te
+xt"], default_h => [""]);
But that, of course, just returns the line of HTML, unparsed.
Any further ideas, anyone?