Applying a LDIF which is as string and not as file

2009-04-28 Thread Cyril Cheneson
HI all, I have a LDAP structure (ldif format) as perl string. my $ldap_struct =<<"END"; HERE MY LDIF END And I would like to apply the structure to my LDAP server. Net::LDAP::Ldif accepts file name or file handle only. Anyone has an idea how I can apply the LDIF string to LDAP? I m using Op

Re: Applying a LDIF which is as string and not as file

2009-04-28 Thread Graham Barr
On Apr 28, 2009, at 3:46 AM, Cyril Cheneson wrote: I have a LDAP structure (ldif format) as perl string. my $ldap_struct =<<"END"; HERE MY LDIF END And I would like to apply the structure to my LDAP server. Net::LDAP::Ldif accepts file name or file handle only. Anyone has an idea how I can