printLDIF wraps long lines of text

Discussion in 'Perl Misc' started by Mike, Oct 22, 2004.

  1. Mike

    Mike Guest

    I am printing results from an LDAP query using the following code:

    use Mozilla::LDAP::Conn;
    use Mozilla::LDAP::Entry;
    my $conn = new Mozilla::LDAP::Conn($host, $port, $bindDN, $pwd);
    my $entry = $conn->search($root, $scope, $filter, 0, @attrs);
    while($entry) {
    $entry->printLDIF();
    $entry = $conn->nextEntry();
    }

    The code works properly, but the printLDIF() function is wrapping
    lines longer than 78 characters. How do I prevent this line wrap?
    Thanks.
    Mike, Oct 22, 2004
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. George Marsaglia

    Assigning unsigned long to unsigned long long

    George Marsaglia, Jul 8, 2003, in forum: C Programming
    Replies:
    1
    Views:
    659
    Eric Sosman
    Jul 8, 2003
  2. Daniel Rudy

    unsigned long long int to long double

    Daniel Rudy, Sep 19, 2005, in forum: C Programming
    Replies:
    5
    Views:
    1,179
    Peter Shaggy Haywood
    Sep 20, 2005
  3. bpd

    Labels - text wraps at runtime

    bpd, Mar 14, 2007, in forum: ASP .Net
    Replies:
    3
    Views:
    313
  4. Mathieu Dutour

    long long and long

    Mathieu Dutour, Jul 17, 2007, in forum: C Programming
    Replies:
    4
    Views:
    462
    santosh
    Jul 24, 2007
  5. Jeff Bigham

    Detecting Where Text Wraps

    Jeff Bigham, Aug 23, 2008, in forum: Javascript
    Replies:
    1
    Views:
    91
    Martin Honnen
    Aug 23, 2008
Loading...

Share This Page