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


getnetbyname

getnetbyname 
name

Retrieves the network address of a network name . The return value in list context is:

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


Previous: Reference: getnetbyaddr Perl in a Nutshell Next: Reference: getnetent
Reference: getnetbyaddr Book Index Reference: getnetent

Library Navigation Links

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