June 2002
Beginner
759 pages
80h 42m
English
new
$nntp= Net::NNTP->new([host[,options]])
Constructor. Creates a new Net::NNTP object. Arguments are:
hostThe name of the remote host to which an NNTP
connection is required. If not specified, the constructor
checks the environment variables NNTPSERVER and NEWSHOST,
in that order, then Net::Config. Defaults to news if nothing is found.
optionsOptions. Passed as key/value pairs. Possible options are:
TimeoutMaximum time, in seconds, to wait for a
response from the NNTP server. Default is 120
seconds. A value of 0 causes all I/O
operations to block.
DebugEnables printing of debugging information to STDERR.