in reply to Help with LWP
Two, I'd just use print($response->content) if $response->is_success; Or if you actually want to see errors when they happen you might try:
if ($response->is_success) { print $response->content; } else { print $response->error_as_HTML; }
Three, you said the script works on WinXX? How does it fail then? Does it return nothing, garbage, mangled data, what? You have to give us something to go on so we can do more than nitpick your syntax.
--
$you = new YOU;
honk() if $you->love(perl)
|
|---|