in reply to Re^2: Problem with LWP::Protocol::https::SocksChain
in thread Problem with LWP::Protocol::https::SocksChain
Assuming you are on Win32, the whenever print $! reports Unknown error, printing $^E may give you so called "extended error information", ie. the actual win32 error text rather than perl's half hearted attempt to convert every system error to one of the 3 (or is it 5?) catch all POSIX error codes.
In this case, (I'm guessing as your error messages to do not show the line numbersfrom which they originate), that if you added it to the following:
my $res = $ua->request($req) || die $!, $^E;
You might get more information about whatthe problem is.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problem with LWP::Protocol::https::SocksChain
by Gangabass (Vicar) on Sep 04, 2007 at 07:40 UTC | |
by Anonymous Monk on Sep 04, 2007 at 08:05 UTC | |
by BrowserUk (Patriarch) on Sep 04, 2007 at 09:11 UTC |