Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: LWP::Simple vs HTTP::Tiny

by perlfan (Vicar)
on Dec 14, 2020 at 19:48 UTC ( #11125189=note: print w/replies, xml ) Need Help??


in reply to LWP::Simple vs HTTP::Tiny

HTTP::Tiny is included in core, but SSL support is not "on" by default because it requires Net::SSLeay and IO::Socket::SSL. I personally find HTTP::Tiny easier to use, but loads of modules require LWP. LWP also supports other protocols, such as gopher (which like perl and BSD is dead/dying xD). So LWP is still very much relevant. If I were writing a client for a REST API (e.g.,) I would be using HTTP::Tiny. I have not looked at some other other suggestions, but they may suite your needs better - so YMMV.

Replies are listed 'Best First'.
Re^2: LWP::Simple vs HTTP::Tiny
by Bod (Chaplain) on Dec 14, 2020 at 20:43 UTC
    but SSL support is not "on" by default

    Yes, I found this out.
    It has also been impossible so far to install the required modules as it gives errors. Not just with these modules but with everything I've tried to install on the RPi from CPAN.

    I will solve this problem but for now I've created a subdomain on my website without SSL just for this project to get its updates. Doing that and only using core modules has allowed me to get everything working.

      "It has also been impossible so far to install the required modules as it gives errors. Not just with these modules but with everything I've tried to install on the RPi from CPAN." if you're going to start a thread about this, please provide sufficient details.

        It is quite possible marto that I will be asking for some help when I have get that far. I shall provide as much information as possible. However, I am going to do a clean install of the OS and re-add just the scripts I need before installing the RPi in its new home - that might solve the problem.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2021-04-13 06:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?