News::Pan::Server::Group - abstraction to a pan news group cache file
There are two ways to set the abs_path of the news group cache file. Either through set_asb_path(), which returns boolean, or through argument to constructor. If you set it through argument to constructor, it will throw an exception if this is not a file.
my $server = new News::Pan::Server::Group({ abs_path => '/home/myself/.pan/astraweb/alt.binaries.sounds.mp3' }); my $server = new News::Pan::Server::Group; $server->set_asb_path( '/home/myself/.pan/astraweb/alt.binaries.sounds.mp3' ) or warn('not a file');
set the abs path for this news group cache file
returns abs path to file
To install News::Pan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm News::Pan
CPAN shell
perl -MCPAN -e shell install News::Pan
For more information on module installation, please visit the detailed CPAN module installation guide.