App::LDAP::Connection - Singleton of Net::LDAP
App::LDAP::Connection->new( "ldap://localhost", port => 389, version => 3, onerror => "die", ); App::LDAP::Connection->instance->bind( "cn=admin,dc=example,dc=org", password => "password", ); App::LDAP::Connection->instance->search( base => "ou=People,dc=example,dc=org", scope => "sub", filter => "uid=foo", );
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.