News::GroupInfo::Entry - an object for storing specific group information
use News::GroupInfo::Entry;
See News::GroupInfo and below for more specific information about related functions.
News::GroupInfo::Entry contains the actual newsgroup entries for News::GroupInfo. Each entry consists of a group name, timestamp of creation, creator name, and group description. Within that, it is a very simple module (significantly more lines dedicated to documentation than actual code).
News::GroupInfo::Entry is accessed through the following functions:
Creates and returns a new News::GroupInfo::Entry object. STRING is a scalar containing the group name, timestamp of creation, creator name, and group description, separated by '::'.
STRING
Only the group name is really required; the rest will be worked on on their own. Therefore, just passing in the group name will work fine.
Returns the relevant information from the object, as indicated above. If an argument is passed to these functions, then the value is set to that value; otherwise, we just return the existing value.
Returns an array reference containing time(), creator(), and desc() (the same information stored by INN's various newsgroup files).
time()
creator()
desc()
Makes a human-readable string containing the information from arrayref().
Returns the string that is needed by new() - ie, a string containing name() and arrayref(), separated by '::'.
News::GroupInfo
Tim Skirvin <tskirvin@killfile.org>
http://www.killfile.org/~tskirvin/software/news-archive/
This code may be redistributed under the same terms as Perl itself.
Copyright 2003-2004, Tim Skirvin.
To install News::Archive, copy and paste the appropriate command in to your terminal.
cpanm
cpanm News::Archive
CPAN shell
perl -MCPAN -e shell install News::Archive
For more information on module installation, please visit the detailed CPAN module installation guide.