Re: retrieving news messages



On Thu, 29 Nov 2007 12:18:42 GMT in comp.lang.perl.misc, "A. Sinan
Unur" <1usa@xxxxxxxxxxxxxxxxxxx> wrote,
Either of the following would work:

my $nntp = Net::NNTP->new('newsgroups.comcast.net', Debug => 1 );

or

my $nntp = Net::NNTP->new(
Host => 'newsgroups.comcast.net',
Debug => 1,
);

Thanks for the explanation.

Nobody in the original thread figured it out. The documentation
could be more clear, instead of requiring a look at the source to
make sense of it. Nothing to do with a hash after all, just pairs
of argument names and values; I think mentioning hash just confused
the original poster.
.