Name : perl-NNTPClient
| |
Version : 0.37
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp154.6.1
| Date : 2023-01-27 16:49:32
|
Group : Development/Libraries/Perl
| Source RPM : perl-NNTPClient-0.37-lp154.6.1.src.rpm
|
Size : 0.05 MB
| |
Packager : https://www_suse_com/
| |
Summary : Perl 5 module to talk to NNTP (RFC977) server
|
Description :
This module implements a client interface to NNTP, enabling a Perl 5 application to talk to NNTP servers. It uses the OOP (Object Oriented Programming) interface introduced with Perl 5.
NNTPClient exports nothing.
A new NNTPClient object must be created with the _new_ method. Once this has been done, all NNTP commands are accessed through this object.
Here are a couple of short examples. The first prints all articles in the \"test\" newsgroup:
use News::NNTPClient;
$c = new News::NNTPClient;
($first, $last) = ($c->group(\"test\"));
for (; $first < = $last; $first++) { print $c->article($first); }
__END__
This example prints the body of all articles in the \"test\" newsgroup newer than one hour:
require News::NNTPClient;
$c = new News::NNTPClient;
foreach ($c->newnews(\"test\", time - 3600)) { print $c->body($_); }
__END__
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-N/15.4/noarch |