Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   Perl (http://www.velocityreviews.com/forums/f17-perl.html)
-   -   NET::NNTP Undefined value error (http://www.velocityreviews.com/forums/t24135-net-nntp-undefined-value-error.html)

Gene Mat 07-07-2003 11:38 PM

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


All times are GMT. The time now is 03:38 PM.

Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.