in reply to Re^6: LWP - content_cb
in thread LWP - content_cb

except that the variable should be $!, not $_.   $_ won't hold a useful value when the open fails...