Hi Hans,

On Saturday, 14. January 2006 21:00, [EMAIL PROTECTED] wrote:
> I've added schema awareness. You can now do
> $filter->match($entry,$schema) and it will filter based on schema,
> however currently I only included caseIgnore matching.
> I couldn't get the function prototyping to work with the substrings
> match in combination with schema lookup while it works with
> $schema=undef  (I'm running Active State 5.8.7).

I have made a few slight changes to the file and added it to the perl-ldap SVN

You may grab it from the perl-ldap SVN at       
        http://svn.mutatus.co.uk/wsvn/perl-ldap/trunk/

Now that we have something in public to compare to, may I asky you to
post patches instead of the full file for future updates.

BTW do you need the function call filterMatch() exported ?
I'd like to get rid of it as $filter->match() is IMHO much nicer/cleaner.

> At the end is a small extension to Net::LDAP::Schema, which probably
> does not belong here ;-)

As Chris already added it (slightly modified) to Net::LDAP::Schema
I removed that part and adapted the method calls to the Schema accordingly.

Please test if my changes were correct ;-)

Peter

-- 
Peter Marschall
eMail: [EMAIL PROTECTED]

Reply via email to