start page | rating of books | rating of authors | reviews | copyrights

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: getnetbyname Chapter 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: 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.