NET::NNTP Undefined value error

Discussion in 'Perl' started by Gene Mat, Jul 8, 2003.

  1. Gene Mat

    Gene Mat Guest

    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, Jul 8, 2003
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Gene Mat

    Re: Net::NNTP Undefined value

    Gene Mat, Jul 8, 2003, in forum: Perl
    Replies:
    0
    Views:
    993
    Gene Mat
    Jul 8, 2003
  2. Anton Bangratz
    Replies:
    0
    Views:
    151
    Anton Bangratz
    Jun 4, 2008
  3. Gene Mat

    Net::NNTP Undefined value

    Gene Mat, Jul 8, 2003, in forum: Perl Misc
    Replies:
    3
    Views:
    115
    Gene Mat
    Jul 8, 2003
  4. Replies:
    7
    Views:
    369
    Dr.Ruud
    Aug 9, 2006
  5. sadie-no-reply

    Posting to nntp newsgroup with Perl (Net::NNTP)

    sadie-no-reply, Mar 4, 2007, in forum: Perl Misc
    Replies:
    3
    Views:
    275
    Jamie
    Mar 5, 2007
Loading...

Share This Page