Calling IO::Socket::INET getting an error.

Hansen, Keith (Keith.Hansen@weac.com)
Sun, 25 Mar 2001 03:38:12 -0800


------_=_NextPart_001_01C0B520.16A0A3C2
Content-Type: text/plain;
	charset="iso-8859-1"

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.



------_=_NextPart_001_01C0B520.16A0A3C2--