in reply to Re^2: LWP::Simple vs HTTP::Tiny
in thread LWP::Simple vs HTTP::Tiny

I totally understand the need for a smaller HTTP module which LWP::Simple provides.

Just in case you were unaware, LWP::Simple is just a wrapper around LWP::UserAgent. The "Simple" refers to the simplified interface only. In using LWP::Simple instead of LWP::UserAgent you are actually consuming more RAM, not less and loading more modules, not fewer.

Update: Edited for clarity.


🦛

Replies are listed 'Best First'.
Re^4: LWP::Simple vs HTTP::Tiny
by Bod (Parson) on Dec 14, 2020 at 14:20 UTC
    Just in case you were unaware...

    Thank you hippo - I did know that LWP::Simple is a wrapper but I hadn't extrapolated that to understand the implications you have pointed out. Obvious really but easily missed (at least it is by me).

    I am using HTTP::Tiny for the Raspberry Pi project mainly because this module is core. Having used it for this, I think it will be my first choice when I need simple web access.