{
    "mode": "perldoc",
    "parameter": "Net::LDAP::Control::TreeDelete",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ALDAP%3A%3AControl%3A%3ATreeDelete/json",
    "generated": "2026-07-05T09:32:26Z",
    "synopsis": "use Net::LDAP;\nuse Net::LDAP::Control::TreeDelete;\n$ldap = Net::LDAP->new( \"ldap.mydomain.eg\" );\n$treedel = Net::LDAP::Control::TreeDelete->new( critical => 1 );\n$msg = $ldap->delete( 'o=University of Michigan,c=US',\ncontrol  => [ $treedel ] );\ndie \"error: \",$msg->code(),\": \",$msg->error()  if ($msg->code());",
    "sections": {
        "NAME": {
            "content": "Net::LDAP::Control::TreeDelete - LDAPv3 Tree Delete control object\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::LDAP;\nuse Net::LDAP::Control::TreeDelete;\n\n$ldap = Net::LDAP->new( \"ldap.mydomain.eg\" );\n\n$treedel = Net::LDAP::Control::TreeDelete->new( critical => 1 );\n\n$msg = $ldap->delete( 'o=University of Michigan,c=US',\ncontrol  => [ $treedel ] );\n\ndie \"error: \",$msg->code(),\": \",$msg->error()  if ($msg->code());\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "\"Net::LDAP::Control::TreeDelete\" provides an interface for the creation and manipulation of\nobjects that represent the \"TreeDelete\" control as described by\ndraft-armijo-ldap-treedelete-02.txt\n<https://tools.ietf.org/html/draft-armijo-ldap-treedelete-02>\n\nIt allows the client to delete an entire subtree.\n\nThe control is appropriate for LDAP delete operations [RFC4511] only, and inappropriate for all\nother operations.\n\nIts criticality may be TRUE or FALSE; it has no value.\n\nThere is no corresponding response control.\n",
            "subsections": []
        },
        "CONSTRUCTOR ARGUMENTS": {
            "content": "Since the \"TreeDelete\" control does not have any values, only the constructor arguments\ndescribed in Net::LDAP::Control are supported\n",
            "subsections": []
        },
        "METHODS": {
            "content": "As there are no additional values in the control, only the methods in Net::LDAP::Control are\navailable for \"Net::LDAP::Control::TreeDelete\" objects.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "Net::LDAP, Net::LDAP::Control,\n",
            "subsections": []
        },
        "AUTHOR": {
            "content": "Peter Marschall <peter@adpm.de>.\n\nPlease report any bugs, or post any suggestions, to the perl-ldap mailing list\n<perl-ldap@perl.org>\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 2020 Peter Marschall. All rights reserved. This program is free software; you can\nredistribute it and/or modify it under the same terms as Perl itself.\n",
            "subsections": []
        }
    },
    "summary": "Net::LDAP::Control::TreeDelete - LDAPv3 Tree Delete control object",
    "flags": [],
    "examples": [],
    "see_also": []
}