in reply to Re^4: Network Programming With Perl example 1
in thread Network Programming With Perl example 1

No, it works fine with Activestate Perl 5.8.0 for me. You have to be connected to the web, of course ;-)
(I tried it disconnected, and got an "Invalid Argument" error, but I didn't imagine that was the problem you are having. Did you try "perl -c" on your script?)
chas
  • Comment on Re^5: Network Programming With Perl example 1

Replies are listed 'Best First'.
Re^6: Network Programming With Perl example 1
by Anonymous Monk on May 01, 2005 at 03:33 UTC
    I am connected to the internet via a router:) And I did the -c and it says the syntax is OK. The error I get is "A socket operation attempted to an unreachable network..." :(
      I'm stumped, then. It must be something about your connection, not Perl. Some other monk may know...
        I will attempt a reinstall of Perl to see if that works for now. Thanks.