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.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
"Too many [] have been sedated by an oppressive environment of political correctness and risk aversion."

Replies are listed 'Best First'.
Re^4: Problem with LWP::Protocol::https::SocksChain
by Gangabass (Vicar) on Sep 04, 2007 at 07:40 UTC

    I'm on Linux (FC5).

    So $^E doesn't help :-(

      int $!