Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: scope and packages

by davorg (Chancellor)
on Jun 26, 2009 at 09:51 UTC ( [id://774993]=note: print w/replies, xml ) Need Help??


in reply to scope and packages

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.

--

See the Copyright notice on my home node.

Perl training courses

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://774993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 03:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found