Skip Menu |

This queue is for tickets about the perl-ldap CPAN distribution.

Report information
The Basics
Id: 61754
Status: resolved
Priority: 0/
Queue: perl-ldap

People
Owner: Nobody in particular
Requestors: sam [...] prevenciokft.hu
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in:
  • 0.14
  • 0.15
  • 0.16
  • 0.17
  • 0.18
  • 0.19
  • 0.20
  • 0.21
  • 0.22
  • 0.23
  • 0.24
  • 0.2401
  • 0.25
  • 0.251
  • 0.26
  • 0.27
  • 0.2701
  • 0.28
  • 0.29
  • 0.30
  • 0.31
  • 0.32
  • 0.3201
  • 0.3202
  • 0.33
  • 0.34
  • 0.35
  • 0.36
  • 0.37
  • 0.38
  • 0.39
  • 0.40
  • 0.4001
Fixed in: (no value)



Subject: wrapping in Net::LDAP::Entry->ldif() should be controllable
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().
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
No feedback to my "will close soon" message, closing