http://www.perlmonks.org?node_id=11125189


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 (Parson) 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.