Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: LWP SSLeay

by jettero (Monsignor)
on Apr 09, 2007 at 12:38 UTC ( [id://608957]=note: print w/replies, xml ) Need Help??


in reply to LWP SSLeay

Thousands have done it this year alone I imagine. Choose LWP::Simple and then my $content = get("https://servername.com"). There's a million other ways to do it perhaps. What do you mean by "authenticate?" I understand there's a way to login over ssl. I suspect it'll turn out to be an LWP builtin.

In any case, I doubt you'll have to read much of the SSL docs and will find almost everything in the LWP docs.

If you're intending to automate the process of uploading or downloading files (or something of that nature), you should probably check out WWW::Mechanize, which will do all the http and ssl for you and provide helpers to make that even simpler to do.

-Paul

Replies are listed 'Best First'.
Re^2: LWP SSLeay
by abachus (Monk) on Apr 09, 2007 at 12:46 UTC
    Thanks for you timely response. By authenticate i mean to login with a username and password variable pair, hopefully. Isaac Close

      LWP, LWP::Simple and WWW::Mechanize all support logins via the URI or via authentication methods (ie, $ua->credentials($user, $pass)). So, you should be all set without having to read a lick of the SSL docs. Mech has revolutionized the way I write these automated processes. I highly recommend starting there.

      -Paul

        Thanks all, JOY, JOY, JOY, JOY, JOY !!! I'm looking at WWW::Mechanize and have already built a prototype that works. Maybe a good time to go buy some beer to put in the fridge for later :D

        Isaac Close

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2024-04-25 10:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found