"URI::ldap" provides an interface to parse an LDAP URI into its constituent parts and also to build a URI as described in RFC 2255....