Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getnetbynameChapter 5
Function Reference
Next: Reference: getpeername
 

getnetent

getnetent

Retrieves the next line from your /etc/networks file, or system equivalent. The return value in list context is:

($name, $aliases, $addrtype, $net)
In scalar context, getnetent returns only the network name.


Previous: Reference: getnetbynamePerl in a NutshellNext: Reference: getpeername
Reference: getnetbynameBook IndexReference: getpeername

Library Navigation Links

Copyright © 2001 O'Reilly & Associates. All rights reserved.