In the past I've always used LWP::Simple when I've needed to fetch something from a web server or pass some information by way of the query string. Basically anytime I've not needed the full power of LWP::UserAgent.
Only recently I learnt of HTTP::Tiny which appears to do more than LWP::Simple including being able to set the User Agent string and supporting mirrors. It is also core.
This would make me think that I should drop using LWP::Simple and start using HTTP::Tiny instead. However, on my laptop which has both modules installed, CPAN uses LWP::Simple whereas on the Raspberry Pi, CPAN uses HTTP::Tiny. Given the choice CPAN makes, implies that LWP::Simple is somehow better...
Are there any advantages for making simple web requests of using one over the other or does it come down to personal preference?
In reply to LWP::Simple vs HTTP::Tiny by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |