in reply to Re^2: Mocking LDAP in your tests
in thread Mocking LDAP in your tests

how exactly do you use Net::LDAP to search through LDIF files?

The documentation of Net::LDAP::LDIF shows an example of how to read an LDIF file. If you're having trouble, it'd be best if you posted a new question (at the bottom of Seekers of Perl Wisdom), and follow the advice in How do I post a question effectively? and Short, Self-Contained, Correct Example.