Guys,

I'm getting the error:

  Undefined subroutine &IO::Socket::INET called at C:\Perl\gnx\lgetr.pl line
7.

>From the following code:

#!/perl/bin/perl
# file: lgetr.pl

use IO::Socket;

my $server = shift;
my $fh = IO::Socket::INET($server);
my $line = <$fh>;
print $line;

Any thought from anyone?

Tnanks.

Keith.


Reply via email to