G
Gene Mat
Hi, I'm trying to build a simple program to list all the newsgroups in the
server. However, I can't get this program to run, here's what I have.
#!/opt/local/bin/perl
use Net::NNTP;
$nntp = Net::NNTP->new("nntp.perl.org",Debug,10);
my $LIST=nntp->list;
$nntp->quit;
Can't call method "list" on an undefined value at ./getnntp.pl line 13.
Other methods of the Net::NNTP work fine, including
article,group,xover,date,etc. Just the list, active and newsgroups methods
die with undefined value error.
Please Help.
Gene Mat
server. However, I can't get this program to run, here's what I have.
#!/opt/local/bin/perl
use Net::NNTP;
$nntp = Net::NNTP->new("nntp.perl.org",Debug,10);
my $LIST=nntp->list;
$nntp->quit;
Can't call method "list" on an undefined value at ./getnntp.pl line 13.
Other methods of the Net::NNTP work fine, including
article,group,xover,date,etc. Just the list, active and newsgroups methods
die with undefined value error.
Please Help.
Gene Mat