Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^3: LWP::Simple vs HTTP::Tiny

by hippo (Bishop)
on Dec 14, 2020 at 13:59 UTC ( [id://11125158]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

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

    No recent polls found