[Date Prev][Date Next]
- To: openldap-devel@OpenLDAP.org
- Subject: back-perl suggestions
- From: Leif Johansson <firstname.lastname@example.org>
- Date: Mon, 03 Feb 2003 11:12:08 +0100
- User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130
I have a couple of thoughts on modifications to back-perl and a
general question about the backend-api:
1. Return an array reference [$return_code,$error_message] from
backend methods instead of just a scalar return_code.
2. Use Net::LDAP entry objects (or similar structures) to pass
entry data back to the caller -- would save quite a bit of copying.
3. Pass a reference to the connection object to the perl methods
and include enough XSUB-code to let the backend dig out info
about the connection.
Most of these will break the current api. I guess that means that a
new perl-backend would have to be created, right?
What about per-connection backend-private data?