Help for this page

Select Code to Download


  1. or download this
       open(my $fh, "<:utf8", "index.html") || die "Can't open 'index.html
    +': $!";
       my $p = HTML::TokeParser->new( $fh );
       # ...
    
  2. or download this
       utf8::decode($document);
       my $p = HTML::TokeParser->new( \$document );
       # ...