{
    "mode": "perldoc",
    "parameter": "Net::LDAP::Control::DontUseCopy",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/Net%3A%3ALDAP%3A%3AControl%3A%3ADontUseCopy/json",
    "generated": "2026-06-13T03:45:33Z",
    "synopsis": "use Net::LDAP;\nuse Net::LDAP::Control::DontUseCopy;\n$ldap = Net::LDAP->new( \"ldap.mydomain.eg\" );\n$nocopy = Net::LDAP::Control::DontUseCopy->new( critical => 1 );\n$msg = $ldap->search( base => 'o=University of Michigan,c=US',\nfilter => '(cn=Barbara Jensen)'\ncontrol  => [ $nocopy ] );\ndie \"error: \",$msg->code(),\": \",$msg->error()  if ($msg->code());",
    "sections": {
        "NAME": {
            "content": "Net::LDAP::Control::DontUseCopy - LDAPv3 Don't Use Copy control object\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use Net::LDAP;\nuse Net::LDAP::Control::DontUseCopy;\n\n$ldap = Net::LDAP->new( \"ldap.mydomain.eg\" );\n\n$nocopy = Net::LDAP::Control::DontUseCopy->new( critical => 1 );\n\n$msg = $ldap->search( base => 'o=University of Michigan,c=US',\nfilter => '(cn=Barbara Jensen)'\ncontrol  => [ $nocopy ] );\n\ndie \"error: \",$msg->code(),\": \",$msg->error()  if ($msg->code());\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "\"Net::LDAP::Control::DontUseCopy\" provides an interface for the creation and manipulation of\nobjects that represent the \"DontUseCopy\" control as described by RFC 6171.\n\nIt allows the client to specify that copied information should not be used in providing the\nservice.\n\nThe control is appropriate for LDAP search and compare operations [RFC4511] and inappropriate\nfor all other operations.\n\nIts criticality must be TRUE; it has no value.\n\nThere is no corresponding response control.\n",
            "subsections": []
        },
        "CONSTRUCTOR ARGUMENTS": {
            "content": "Since the \"DontUseCopy\" 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::DontUseCopy\" 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) 2014 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::DontUseCopy - LDAPv3 Don't Use Copy control object",
    "flags": [],
    "examples": [],
    "see_also": []
}