Name
new
Synopsis
$nntp
= Net::NNTP->new([host
[, options
]])
Description
Constructor. Creates a new Net::NNTP object. Arguments are:
- host
The 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.- options
Options, passed as key/value pairs. Possible options are:
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.