Name
new
Synopsis
$pop
= Net::POP3->new([host
,] [options
])
Description
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.
Get Perl in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.