Go Back   Velocity Reviews > Newsgroups > PERL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

PERL - NET::NNTP Undefined value error

 
Thread Tools Search this Thread
Old 07-08-2003, 12:38 AM   #1
Default NET::NNTP Undefined value error


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


Gene Mat
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump