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


login

 $

pop


->login
([

user

[, 

pass

]])

Sends both USER and PASS commands. If the password, pass , is not given, then Net::Netrc is used to look up the password based on the host and the username, user . If user is not specified, the current username is used. Returns the count of messages in the mailbox, or undef if the server can't authenticate the user.


Previous: Reference: list Perl in a Nutshell Next: Reference: pass
Reference: list Book Index Reference: pass

Library Navigation Links

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