Hi,
On Wed Sep 29 10:06:42 2010, godot wrote:
Show quoted text> The ldif string returned by Net::LDAP::Entry->ldif() is wrapped at 78
> columns, and I couldn't find a way to change this behavior.
>
> The wrapping should either be disabled by default, or it should be
> controllable, as it is via the 'wrap' option in Net::LDAP::LDIF->new().
sorry it took me so long to answer.
could you have a look at the new perl-ldap 0.46.
It does address your issue directly, but it allows you to use
$entry->update($ldif, %opts)
where
$ldif is a Net::LDAP::LDIF object
%opts are optinos for $ldif->write_entry()
In fact, $entry->update($ldif) is a wrapper for $ldif->write_entry($entry)
So, instead of using the specialized method $entry->ldif(),
I recommend using $entry->update($ldif);
With this information, would it be OK for you if I close this bug?
Best
PEter