{
    "mode": "perldoc",
    "parameter": "LWP::Protocol::ldapi",
    "section": "",
    "url": "https://www.chedong.com/phpMan.php/perldoc/LWP%3A%3AProtocol%3A%3Aldapi/json",
    "generated": "2026-07-05T13:16:14Z",
    "synopsis": "use LWP::UserAgent;\nuse MIME::Base64;\n$ua = LWP::UserAgent->new();\n$res = $ua->get('ldapi:///' .\n'o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)',\nAuthorization => 'Basic '.encodeBase64('cn=John Doe:secret')):",
    "sections": {
        "NAME": {
            "content": "LWP::Protocol::ldapi - Provide LDAPI support for LWP::UserAgent\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "use LWP::UserAgent;\nuse MIME::Base64;\n\n$ua = LWP::UserAgent->new();\n$res = $ua->get('ldapi:///' .\n'o=University%20of%20Michigan,c=US??sub?(cn=Babs%20Jensen)',\nAuthorization => 'Basic '.encodeBase64('cn=John Doe:secret')):\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "The LWP::Protocol::ldapi module provides support for using *ldapi* schemed URLs with LWP. This\nmodule is a plug-in to the LWP protocol handling, so you don't use it directly.\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "LWP::Protocol::ldap, LWP::Protocol::ldaps\n",
            "subsections": []
        },
        "COPYRIGHT": {
            "content": "Copyright (c) 2012 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": "LWP::Protocol::ldapi - Provide LDAPI support for LWP::UserAgent",
    "flags": [],
    "examples": [],
    "see_also": []
}