SPVM::Sys::User::Group - Entry of Group Database
use Sys::User; use Sys::User::Group; Sys::User->setgrent; # Get a Sys::User::Group object my $group = Sys::User->getgrent; my $group_name = $group->gr_name; Sys::User->endgrent;
Sys::User::Group is the class for an entry of the group database.
Sys::User::Group
method gr_name : string ();
Get the group name.
method gr_passwd : string ();
Get the group password.
method gr_gid : int ();
Get the group ID.
method gr_mem : string[] ();
Get the group member names.
To install SPVM::Sys, copy and paste the appropriate command in to your terminal.
cpanm
cpanm SPVM::Sys
CPAN shell
perl -MCPAN -e shell install SPVM::Sys
For more information on module installation, please visit the detailed CPAN module installation guide.