NET::NNTP Undefined value error

G

Gene Mat

Hi, I'm trying to build a simple Perl program to get a list of
newsgroups. Here's what I have...

#!/opt/local/bin/perl
use Net::NNTP;
$nntp = Net::NNTP->new("nntp.perl.org",Debug,10);
$LIST=$nnpt->list;
$nntp->quit;

Can't call method "list" on an undefined value at ./getnntp.pl line 13.

The group, article, date, xover all work fine with the NET::NNTP module.
However the list, active and newsgroups functions all die with the
"Undefined Value" error.

Help!!!
-GeneMat
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top