Re: Net::LDAP and Net:LDAP::LDIF read & add problems

2005-08-23 Thread Chris Ridd
On 23/8/05 5:51, Quanah Gibson-Mount <[EMAIL PROTECTED]> wrote: > This was actually just recently discussed. > > You could, I would think, use perl itself to clean up the \r\n fairly > easily. ;) > > $line =~ s/\r\n//; > > for example, rather than chomp. Or if you wanted to cope with other mut

Re: Net::LDAP and Net:LDAP::LDIF read & add problems

2005-08-23 Thread Quanah Gibson-Mount
--On Tuesday, August 23, 2005 12:46 PM -0400 Rick Greene <[EMAIL PROTECTED]> wrote: Ok, I found the problem. Somehow (probably a default action that I didn't know about), when taking in the LDIF formatted text from the textarea field of the web form, dumping to a local temporary text file,

Re: Net::LDAP and Net:LDAP::LDIF read & add problems

2005-08-23 Thread Rick Greene
Ok, I found the problem. Somehow (probably a default action that I didn't know about), when taking in the LDIF formatted text from the textarea field of the web form, dumping to a local temporary text file, and then using Net::LDAP::LDIF's $ldif->read_entry(), ALL the attributes were ending up