Hi All,

I have perl version 5.00503 installed on sunos machine. Do i need to
add aditional module to use the function getprotobyname ?

          #!/usr/bin/env perl 

           print("Name " . (getprotobyname('udp'))[2] . "\n" );

 The above code  when run gives the error:

  "Error Bad file number"

-thanks
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to