The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

News::Pan::Server::Group - abstraction to a pan news group cache file

DESCRIPTION

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.

new()

   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_abs_path()

set the abs path for this news group cache file

abs_path

returns abs path to file