Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: XML::LibXML https

by KevinZwack (Chaplain)
on Nov 30, 2013 at 22:10 UTC ( [id://1065090]=note: print w/replies, xml ) Need Help??


in reply to XML::LibXML https

Here is another small example with LWP... You can easily add authentication or other features with it.

#!/usr/bin/perl use warnings "all"; use strict; use LWP; use XML::LibXML; my $ua = LWP::UserAgent->new(); my $response = $ua->get('http://www.yourWebsite.com'); my $tree = XML::LibXML->load_xml(string => $response->content, recover +=>2); print $tree->toString();

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-04-25 23:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found