Help for this page

Select Code to Download


  1. or download this
        my $xhtml = HTML::TreeBuilder::XPath->new;
        $xhtml->implicit_tags(1);
        $xhtml->parse_file($file)
            or die("Could not parse '$file' : $!\n");
    
  2. or download this
        . . .
        use open qw/:std :utf8/;
    ...
            or die("Could not open file '$file' : error: $!\n");
        $xhtml->parse_file($filehandle)
            or die("Could not parse file handle for '$file' : $!\n");