in reply to Re^2: about retrieving and parsing html without writing on disk
in thread about retrieving and parsing html without writing on disk
Good note for checking $response->code and such. Along those lines, for the OP, if you use WWW::Mechanize remember that it fails hard, dies, on any non-success responses, 400s and 500s, unless you set autocheck => 0. You also have access to the response object from the mech object with $mech->response so you don't necessarily need a new variable for it.
|
---|
In Section
Seekers of Perl Wisdom