Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Looking for names for Net::LDAP::Entry enhancement module

by strat (Canon)
on Apr 21, 2007 at 09:09 UTC ( #611280=perlquestion: print w/ replies, xml ) Need Help??
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"

Comment on Looking for names for Net::LDAP::Entry enhancement module
Re: Looking for names for Net::LDAP::Entry enhancement module
by g0n (Priest) on Apr 22, 2007 at 11:24 UTC
    I'd strongly recommend posting this to the perl-ldap mailing list. You'll likely get some prompt feedback on how the module could be used and an appropriate namespace consistent with the existing namespace structure.

    My suggestion would be something like Net::LDAP::Entry::Validate or Net::LDAP::Entry::Check

    --------------------------------------------------------------

    "If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing."
    John Brunner, "The Shockwave Rider".

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://611280]
Approved by wfsp
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (9)
As of 2014-10-20 08:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (73 votes), past polls