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

Perl in a Nutshell

Perl in a NutshellSearch this book
Previous: 16.3 FTP Configuration with Net::Netrc Chapter 16
FTP
Next: Reference: account
 

lookup

 $

machine

 
= Net::Netrc->lookup
(

host

[, 

login

])

Constructor. Looks up and returns a reference to the entry for the specified host machine, host . Without the optional login argument, lookup returns the first entry in the .netrc file for the machine.

If there is no matching entry, lookup returns a reference to the default entry.


Previous: 16.3 FTP Configuration with Net::Netrc Perl in a Nutshell Next: Reference: account
16.3 FTP Configuration with Net::Netrc Book Index Reference: account

Library Navigation Links

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