problem with perl

Discussion in 'Site & Server Administration' started by topso, Jul 18, 2011.

  1. #1
    hey all i have centos 5.5 64bit

    i am getting error from perl

    ERROR Can't connect to xxxxxx.com:80 (Permission denied) LWP::protocol::http::Socket: connect: Permission denied at /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/http.pm line 51.


    can any one help
     
    topso, Jul 18, 2011 IP
  2. j32olger

    j32olger Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I'd first look at line 51 in the file /usr/lib/perl5/site_perl/5.8.8/LWP/Protocol/http.pm
    It might give you an idea of what's happening
     
    j32olger, Jul 18, 2011 IP
  3. madaboutlinux

    madaboutlinux Member

    Messages:
    250
    Likes Received:
    7
    Best Answers:
    2
    Trophy Points:
    43
    #3
    Provide some more info, like, how are you trying to execute the perl script? Is it connecting to a remote server? or where you receive the error message?
     
    madaboutlinux, Jul 19, 2011 IP