Well, man says:
read_entry ( ) Read one entry from the file and return it as a "Net::LDAP: +:Entry" object.
So you read entries from an LDIF file, one by one, and then you write them on another, that's all. What you need to change in the script I already posted is:
Since you say that you know how to use read_entry, you should be able to modify my script any way you like to do the job.
Ciao!
--bronto
The very nature of Perl to be like natural language--inconsistant and full of dwim and special cases--makes it impossible to know it all without simply memorizing the documentation (which is not complete or totally correct anyway).
--John M. Dlugosz
In reply to Re: Re: Re: Net::LDAP::LDIF
by bronto
in thread Net::LDAP::LDIF
by nqklooless
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |