in reply to How do I pass a string to HTML::TokeParser::Simple object?

It's a bit late in the game, but in case someone stumbles across this, I'd like to mention that the latest HTML::TokeParser::Simple allows you to do this:

  my $parser = HTML::TokeParser::Simple->new(url => $url);

It relies on LWP::Simple, so it will croak if that is not installed.

Cheers,
Ovid

New address of my CGI Course.