net::ldap::extra5.18(3) mojave man page | unix.com

Man Page: net::ldap::extra5.18

Operating Environment: mojave

Section: 3

Net::LDAP::Extra(3)					User Contributed Perl Documentation				       Net::LDAP::Extra(3)

NAME
Net::LDAP::Extra -- Load extra Net::LDAP methods
SYNOPSIS
use Net::LDAP::Extra qw(my_extn); $ldap = Net::LDAP->new( ... ); $ldap->my_extn( ... );
DESCRIPTION
"Net::LDAP::Extra" allows extra methods to be added to Net::LDAP. Normally such methods would be added by sub-classing Net::LDAP, but this proves to get messy as different people write different additions and others want to use multiple of these sub-classes. Users end up having to create sub-classes of their own which inherit from all the extension sub-classes just so they can get all the features. "Net::LDAP::Extra" allows methods to be added directly to all Net::LDAP objects. This can be done by creating a class "Net::LDAP::Extra::name" which exports functions. A "use Net::LDAP::Extra qw(name)" will then make these functions available as a methods on all "Net::LDAP" objects. Care should be taken when choosing names for the functions to export to ensure that they do not clash with others.
SEE ALSO
Net::LDAP::Extra::AD, perl v5.18.2 2013-07-21 Net::LDAP::Extra(3)
Related Man Pages
net::ldap::control::managedsait(3) - suse
net::ldap::control::managedsait(3) - osx
net::ldap::control::syncdone(3) - osx
net::ldap::extra::ad(3) - osx
net::ldap::control::managedsait(3pm) - debian
Similar Topics in the Unix Linux Community
Split large xml into mutiple files and with header and footer in file
My first PERL incarnation... Audio Oscillograph
Controlling user input
How can I direct messages from mac console.app to a log file?
Python 3.8.0rc1 released.