Re: Net::NNTP

2005-11-10 Thread Graham Barr
On Wed, November 9, 2005 1:49 pm, Yale Wilson wrote: > > "Gene Mat" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > >I am trying to get a list of News Groups using Perl, however I get the > > following error, when I try either list(), newsgroups(), or the active > () > > $

Re: Net::NNTP

2005-11-10 Thread Yale Wilson
call method "active" on an undefined value at ./getnntp.pl line 11. > > #!/opt/local/bin/perl > use Net::NNTP; > $nntp = Net::NNTP->new("news.microsoft.com",Debug,1); > $DATE=$nntp->date; > $GROUP=$nntp->group; > ($narticles,$firs

Re: Net::NNTP

2003-07-07 Thread Jan Pieter Cornet
ned value at ./getnntp.pl line 11. > > #!/opt/local/bin/perl > use Net::NNTP; Bzzt. Two errors already: You forgot the "-w" switch to perl, and you probably forgot to "use strict". Try the -w switch first, and the real error will be very obvious. Then try "use str

Net::NNTP

2003-07-07 Thread Gene Mat
I am trying to get a list of News Groups using Perl, however I get the following error, when I try either list(), newsgroups(), or the active () functions. Can't call method "active" on an undefined value at ./getnntp.pl line 11. #!/opt/local/bin/perl use Net::NNTP; $nntp =