> For the complete documentation index, see [llms.txt](https://trizen.gitbook.io/perl6-rosettacode/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://trizen.gitbook.io/perl6-rosettacode/programming_tasks/a/active-directory/connect.md).

# Connect

Using module LMDB - bindings to the openLDAP library. Requires an LDAP instance.

```perl
use LMDB;

my %DB := LMDB::DB.open(:path<some-dir>, %connection-parameters);
```

%DB may be accessed, read from and written to like a native hash.
