in reply to Problems with LWP

It seems like a networking error to me. Are you behind a proxy, perchance? The Bad protocol 'tcp' error is telling you that something can't use the TCP protocol; the most common cause of this, if other things work, is that you haven't made LWP aware of your proxy settings.

On windows, IIRC, LWP should respect the environment variables http_proxy (in the form http://proxy-server.tld:2222, where 2222 is replaced by your proxy port), http_proxy_user. and http_proxy_pass.


The Eightfold Path: 'use warnings;', 'use strict;', 'use diagnostics;', perltidy, CGI or CGI::Simple, try the CPAN first, big modules and small scripts, test first.