Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: Reference: sendChapter 5
Function Reference
Next: Reference: setgrent
 

sethostent

sethostent stayopen

Opens the hosts file (usually /etc/hosts on Unix systems) and resets the "current" selection to the top of the file. stayopen, if non-zero, keeps the file open across calls to other functions. Not implemented on Win32 systems.


Previous: Reference: sendPerl in a NutshellNext: Reference: setgrent
Reference: sendBook IndexReference: setgrent