Gene Mat wrote at Mon, 07 Jul 2003 23:18:38 +0000:
> I am trying to call the list function using NET::NNTP.
>
> use Net::NNTP;
use strict;
use warnings;
would have told you where and why the error is.
> $nntp = Net::NNTP->new("nntp.perl.org",Debug,10);
> ($narticles,$first,$last,$GROUP)=$nntp->group("perl.beginners");
> $nnpt->list;
^^
> $nntp->quit;
>
>
> All the other NNTP functions work fine group, date, xover, etc. However,
> when I want to get all the Newsgroup using either the list, active, or
> newsgroup functions. I get the following error.
>
> Can't call method "list" on an undefined value at ./getnntp.pl line 13.
>
>
> Any suggestions?
Let Perl help you where it can,
don't let a human make the work of a machine.
Greetings,
Janek
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]