GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

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

Net::LDAP::Extra -- Load extra Net::LDAP methods

  use Net::LDAP::Extra qw(my_extn);

  $ldap = Net::LDAP->new( ... );

  $ldap->my_extn( ... );

"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.

Net::LDAP::Extra::AD,
2020-12-26 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.