{
    "mode": "perldoc",
    "parameter": "Net::LDAP::Extra",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ALDAP%3A%3AExtra/json",
    "generated": "2026-10-04T19:11:22Z",
    "synopsis": "use Net::LDAP::Extra qw(myextn);\n$ldap = Net::LDAP->new( ... );\n$ldap->myextn( ... );",
    "sections": {
        "NAME": {
            "content": "Net::LDAP::Extra -- Load extra Net::LDAP methods\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::LDAP::Extra qw(myextn);\n\n$ldap = Net::LDAP->new( ... );\n\n$ldap->myextn( ... );\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "\"Net::LDAP::Extra\" allows extra methods to be added to Net::LDAP. Normally such methods would be\nadded by sub-classing Net::LDAP, but this proves to get messy as different people write\ndifferent additions and others want to use multiple of these sub-classes. Users end up having to\ncreate sub-classes of their own which inherit from all the extension sub-classes just so they\ncan get all the features.\n\n\"Net::LDAP::Extra\" allows methods to be added directly to all Net::LDAP objects. This can be\ndone by creating a class \"Net::LDAP::Extra::name\" which exports functions. A \"use\nNet::LDAP::Extra qw(name)\" will then make these functions available as a methods on all\n\"Net::LDAP\" objects.\n\nCare should be taken when choosing names for the functions to export to ensure that they do not\nclash with others.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Net::LDAP::Extra::AD,\n",
            "subsections": []
        }
    },
    "summary": "Net::LDAP::Extra -- Load extra Net::LDAP methods",
    "flags": [],
    "examples": [],
    "see_also": []
}