Do you know where your variables are? | |
PerlMonks |
Re: working with DBI and Net::Ldap::Ldifby g0n (Priest) |
on Feb 17, 2006 at 08:40 UTC ( [id://530886]=note: print w/replies, xml ) | Need Help?? |
line 96 is
which is the first line attempting to write to the LDIF file. You appear to be trying to write a string attribute value 'username'. Net::LDAP::LDIF expects the parameter to 'write' to be a valid Net::LDAP::Entry object. You need to construct a Net::LDAP::Entry object for every LDAP object you want to create in your LDIF file, and pass that to 'write'. Example:
--------------------------------------------------------------
"If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing." Can you spare 2 minutes to help with my research? If so, please click here
In Section
Seekers of Perl Wisdom
|
|