Home  |  Linux  | Mysql  | PHP  | XML
From:Yale Wilson Date:Wed Nov  9 12:49:03 2005
Subject:Re: Net::NNTP
  "Gene Mat" <geneSPAMAWAYmat@yahoo.com> wrote in message 
news:Xns93B1AAF3974CgeneSPAMAWAYmatyahoo@64.70.54.95...
  >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 = Net::NNTP->new("news.microsoft.com",Debug,1);
  > $DATE=$nntp->date;
  > $GROUP=$nntp->group;
  > 
($narticles,$first,$last,$GROUP)=$nntp->group("microsoft.public.access");
  > $XOVER=$nntp->xover(19303);
  > $LIST=$nnpt->list;
  > $nntp->quit;
  >
  > The other functions group,date and xover work fine.
  >
  > Thanks,
  > GeneMat




begin 666 p.gif
M1TE&.#EAB0`1`( !```3S/___R'Y! $```$`+ ````")`!$```+1C(^IR^T/
MHYRTVHNSWKS[#S[ 6(TFH)WD828H\RIO'$XQ+;L?/K,(_H,9@#4'KW'T')-#
M7U,8(!:ABU9T]0S.L%?@TNB,LK"]+LUJ_I'%5^2XS.:=AO"Z2Y6MAKU/NXX=
MY[0"]R<X!YB7A6?&% 2&`JDVV+=G=4-GZ4A%69@(R+<9EA@9J<AY^6F*. I&
MI]JH&LBJYYFZ=RJ8RRG+6T5RPW66\R8Y["N%^E:V%6R)UB7*-34]+=79H9*M
9O<W=[?T-'BX^_DQM?HZ>KK[.WN[N40``.P``
`
end

Navigate in group perl.libnet at sever nntp.perl.org
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants