![]() |
|
Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re^3: Using LWP (or some other module) to Dowload HTML with Cookie Session IDby Corion (Patriarch) |
on Nov 29, 2022 at 08:17 UTC ( #11148430=note: print w/replies, xml ) | Need Help?? |
No - please use $res->decoded_content instead of reaching into the HTTP::Response hash. The difference between LWP::UserAgent and Mojo::UserAgent is mostly that LWP::UserAgent doesn't allow for parallel requests. Mojo::UserAgent is a bit more complex due to allowing for parallelism, but it also offers some more convenience stuff like handling JSON replies directly.
In Section
Seekers of Perl Wisdom
|
|