home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


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: getnetbyname Perl in a Nutshell Next: Reference: getpeername
Reference: getnetbyname Book Index Reference: getpeername

Library Navigation Links

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