in reply to How do I pass a string to HTML::TokeParser::Simple object?
To create a scalar reference without actually saving the contents to a variable first, you could try something like the following:
$p = HTML::TokeParser->new( \(get $url) );
It's kind of a hack, and a bit ugly, but the choice is yours.
|
|---|