\$scalar is a reference to the scalar. Read perlreftut.my $html = '<html><head><title>text</title></head><body>something</bod +y></html>'; $p = HTML::TokeParser->new( \$html );
In reply to Re: How do I pass a string to HTML::TokeParser::Simple object?
by borisz
in thread How do I pass a string to HTML::TokeParser::Simple object?
by vegasjoe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |