http://www.perlmonks.org?node_id=611280

strat has asked for the wisdom of the Perl Monks concerning the following question:

Dear monks,

it sometimes is painful when you want to add or change Net::LDAP::Entry objects in an LDAP directory server, and something goes wrong and the only error message arises is something like Object Class Violation or Constraint Violation.

So I am developing an enhancement to Net::LDAP::Entry which offers to check an object against the LDAP schema, either after a failed add/update or even before an update and tell the developer what is wrong.

I'd like to split up the functionality into two part:

  1. A module containing the necessary regular expressions, with name: Regexp::Common::ldapEntry or the like.
  2. A module which checks a Net::LDAP::Entry object with the REs from 1, with name: Net::LDAP::Entry::SchemaCheck or Net::LDAP::Entry::CheckRFC2252 or the like.

Which namespaces would you use?

As soon as it is finished and tested, I'd like to publish it on CPAN.

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"