Yes. Quote the docs,
If the argument is a reference to a plain scalar, then this scalar is taken to be the literal document to parse.
my $stream = HTML::TokeParser->new(\$source) || die "Couldn't read HTML file $source";
In reply to Re: Using the contents of
by ikegami
in thread Using the contents of
by Popcorn Dave
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |