Re: retrieving news messages
- From: David Harmon <source@xxxxxxxxxx>
- Date: Thu, 29 Nov 2007 20:59:23 -0800
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.
.
- References:
- Re: retrieving news messages
- From: David Harmon
- Re: retrieving news messages
- From: A. Sinan Unur
- Re: retrieving news messages
- Prev by Date: Re: making the keys of a hash from parameters collected from a form
- Next by Date: Re: Perl reference, what's the difference
- Previous by thread: Re: retrieving news messages
- Next by thread: FAQ 4.30 How do I capitalize all the words on one line?
- Index(es):