App::LDAP::LDIF::Group - the representation of groups in LDAP
my $group = App::LDAP::LDIF::Group->new( base => $base, # The OU (organization unit) which the group belongs to cn => [$name], # the group name gidNumber => $id, # the gid of the group ); # these three attributes are required my $entry = $group->entry; # get the group as a instance of Net::LDAP::Entry my $group = App::LDAP::LDIF::Group->new($entry) # new from a entry
To install App::LDAP, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::LDAP
CPAN shell
perl -MCPAN -e shell install App::LDAP
For more information on module installation, please visit the detailed CPAN module installation guide.