{
    "content": [
        {
            "type": "text",
            "text": "# Net::LDAP::Control::TreeDelete (perldoc)\n\n## NAME\n\nNet::LDAP::Control::TreeDelete - LDAPv3 Tree Delete control object\n\n## SYNOPSIS\n\nuse 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());\n\n## DESCRIPTION\n\n\"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\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\n- **CONSTRUCTOR ARGUMENTS**\n- **METHODS**\n- **SEE ALSO**\n- **AUTHOR**\n- **COPYRIGHT**\n\nUse structuredContent.sections for detailed options, examples, and full documentation.\n"
        }
    ],
    "structuredContent": {
        "command": "Net::LDAP::Control::TreeDelete",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::LDAP::Control::TreeDelete - LDAPv3 Tree Delete control object",
        "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());",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 14,
                "subsections": []
            },
            {
                "name": "CONSTRUCTOR ARGUMENTS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 3,
                "subsections": []
            }
        ],
        "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": []
            }
        }
    }
}