new
$pop
= Net::POP3->new([host
,] [options
])
- Constructor. Creates a new Net::POP3 object. host is the name of the remote host to which you want to make a POP3 connection. If host is not specified, then the POP3_Host specified in Net::Config is used.
options are passed as key/value pairs, where the option is the key. The possible options are:
Debug
- Enables debugging information
Timeout
- Maximum time, in seconds, to wait for a response from the POP3 server. Default is 120 seconds.