So, which would you choose and why?
In almost every URL-fetching case I use LWP::UserAgent because it is the most flexible of those you have listed. Even for a trivial action I think it is worth it because at some point in the future something about that particular process will change and possibly in a way that might not be supported by one of the "simpler" modules. Starting with the most flexible module saves re-engineering the code if/when that situation arises.
There may be other concerns which might count against it for a particular purpose, of course. I have yet to find one which is a showstopper.
More importantly, how do you generally make choices like these?
It is a balancing of the various criteria discussed in the I am most likely to install a new module from CPAN if: poll and thread.
🦛
In reply to Re: Choosing the right module
by hippo
in thread Choosing the right module
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |