NET::NNTP Undefined value error

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Gene Mat

    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
Working...