Hello. I found that INET6 seems to be broken in some way. See this: https://rt.cpan.org/Ticket/Display.html?id=83967
If I rename INET6 to whatever, and PAR it, then it seems to work (I'm checking). What I do not understand is why it works executing .pl and not the PAR-exe... Thanks Peco 2014-12-15 17:40 GMT+01:00 Juan José 'Peco' San Martín <jsanmar...@gmail.com >: > > Hi, > > $status_line is: 500 write failes: Bad file descriptor > > $@ is write failed: Bad file descriptor at LWP/Protocolo/http.pm line 291 > > Thanks! > Peco > > 2014-12-15 16:52 GMT+01:00 Roderich Schupp <roderich.sch...@googlemail.com > >: >> >> On Sun, Dec 14, 2014 at 6:30 PM, Juan José 'Peco' San Martín < >> jsanmar...@gmail.com> wrote: >>> >>> Simple script to do wget: >>> >>> >>> *use strict;use warnings;* >>> >>> >>> *use LWP::UserAgent;* >>> >>> *my $browser = LWP::UserAgent->new();* >>> >>> >>> *my $echo=$browser->get('http://google.com <http://google.com>');* >>> >>> *if (not $echo->is_success) { print "no connection\n";}* >>> *else { print "connected\";}* >>> >> >> What is the actual error message when it fails, e.g. try >> >> *if (not $echo->is_success) { print "no connection: ", >> $echo->status_line, "\n";}* >> >> >> Cheers, Roderich >> >> >> >> >> >