Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the WWW-Lipsum CPAN distribution.

Report information
The Basics
Id: 38134
Status: resolved
Priority: 0/
Queue: WWW-Lipsum

People
Owner: Nobody in particular
Requestors: cpan [...] zoffix.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Incorrect error handling
Hello, just noticed this piece of code: return "Error: $!" unless $response->is_success; it sould be return "Error: " . $response- Show quoted text
>status_line unless $response->is_success; because LWP::UserAgent does
not set the $! variable. Personally I would recommend adding an error() method to do error checking and on unsuccessful $response return undef and set the error. Cheers.
Fixed in 0.3002, which just got shipped to CPAN