{
    "content": [
        {
            "type": "text",
            "text": "# Net::LDAP::Extension::Cancel (perldoc)\n\n## NAME\n\nNet::LDAP::Extension::Cancel - LDAP Cancel Operation\n\n## SYNOPSIS\n\nuse Net::LDAP;\nuse Net::LDAP::Constant qw(LDAPSUCCESS LDAPCANCELED)\nuse Net::LDAP::Extension::Cancel;\n$ldap = Net::LDAP->new( 'ldap.mydomain.eg' );\n$ldap->bind('cn=Joe User,cn=People,dc=example,dc=com',\npassword => 'secret');\n$search = $ldap->search(\nbase     => 'c=US',\nfilter   => '(&(sn=Barr) (o=Texas Instruments))',\ncallback => \\&processentry, # Call this sub for each entry\n);\n$mesg = $ldap->cancel($search);\ndie \"error :\", $mesg->code(), \": \", $mesg->error()\nif ($mesg->code() != LDAPCANCELED && mesg->code() != LDAPSUCCESS);\n\n## DESCRIPTION\n\n\"Net::LDAP::Extension::Cancel\" implements the \"Cancel\" extended LDAPv3 operation as described in\nRFC 3909.\n\n## Sections\n\n- **NAME**\n- **SYNOPSIS**\n- **DESCRIPTION**\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::Extension::Cancel",
        "section": "",
        "mode": "perldoc",
        "summary": "Net::LDAP::Extension::Cancel - LDAP Cancel Operation",
        "synopsis": "use Net::LDAP;\nuse Net::LDAP::Constant qw(LDAPSUCCESS LDAPCANCELED)\nuse Net::LDAP::Extension::Cancel;\n$ldap = Net::LDAP->new( 'ldap.mydomain.eg' );\n$ldap->bind('cn=Joe User,cn=People,dc=example,dc=com',\npassword => 'secret');\n$search = $ldap->search(\nbase     => 'c=US',\nfilter   => '(&(sn=Barr) (o=Texas Instruments))',\ncallback => \\&processentry, # Call this sub for each entry\n);\n$mesg = $ldap->cancel($search);\ndie \"error :\", $mesg->code(), \": \", $mesg->error()\nif ($mesg->code() != LDAPCANCELED && mesg->code() != LDAPSUCCESS);",
        "tldr_summary": null,
        "tldr_examples": [],
        "tldr_source": null,
        "flags": [],
        "examples": [],
        "see_also": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 20,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 9,
                "subsections": []
            },
            {
                "name": "METHODS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "AUTHOR",
                "lines": 5,
                "subsections": []
            },
            {
                "name": "COPYRIGHT",
                "lines": 3,
                "subsections": []
            }
        ],
        "sections": {
            "NAME": {
                "content": "Net::LDAP::Extension::Cancel - LDAP Cancel Operation\n",
                "subsections": []
            },
            "SYNOPSIS": {
                "content": "use Net::LDAP;\nuse Net::LDAP::Constant qw(LDAPSUCCESS LDAPCANCELED)\nuse Net::LDAP::Extension::Cancel;\n\n$ldap = Net::LDAP->new( 'ldap.mydomain.eg' );\n\n$ldap->bind('cn=Joe User,cn=People,dc=example,dc=com',\npassword => 'secret');\n\n$search = $ldap->search(\nbase     => 'c=US',\nfilter   => '(&(sn=Barr) (o=Texas Instruments))',\ncallback => \\&processentry, # Call this sub for each entry\n);\n\n$mesg = $ldap->cancel($search);\n\ndie \"error :\", $mesg->code(), \": \", $mesg->error()\nif ($mesg->code() != LDAPCANCELED && mesg->code() != LDAPSUCCESS);\n",
                "subsections": []
            },
            "DESCRIPTION": {
                "content": "\"Net::LDAP::Extension::Cancel\" implements the \"Cancel\" extended LDAPv3 operation as described in\nRFC 3909.\n\nThe \"Cancel\" extended operation is very similar to the \"Abandon\" standard operation, and has the\nsame call signature. Unlike the \"Abandon\" operation, it has a response which provides an\nindication of its outcome.\n\nIt implements no object by itself but extends the Net::LDAP object by another method:\n",
                "subsections": []
            },
            "METHODS": {
                "content": "cancel ( OPERATION, OPTIONS )\nCancel an outstanding operation. \"OPERATION\" may be a number or an object which is a\nsub-class of Net::LDAP::Message, returned from a previous method call.\n\nOPTIONS is a list of key/value pairs. The following keys are recognized:\n\ncontrol => CONTROL\ncontrol => [ CONTROL, .. ]\nControl(s) to be passed to the operation.\n",
                "subsections": []
            },
            "SEE ALSO": {
                "content": "Net::LDAP, Net::LDAP::Extension\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) 2011 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": []
            }
        }
    }
}