The best approach is probably to follow the examples in the documentation.
use XML::LibXML; my $parser = XML::LibXML->new; my $doc = $parser->parse_html_file($file);
Something along those lines should work. Looks like you were calling XML::LibXML::new rather than XML::LibXML->new.
In reply to Re: scope and packages
by davorg
in thread scope and packages
by pagod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |