in reply to Re: Net::LDAP::LDIF->new Chokes on large LDIF because of comments every 5k lines
in thread Net::LDAP::LDIF->new Chokes on large LDIF because of comments every 5k lines

I used some print statements in the loop to find the last dn it processed, then when I immediately looked after it I found the recurring non-complaint ldif comment showing up. So now I process it with perl to remove the comments before reading it into ldif module.

perl -MNet::LDAP::LDIF -le "print $Net::LDAP::LDIF::VERSION" 0.15
- 3dbc
  • Comment on Re^2: Net::LDAP::LDIF->new Chokes on large LDIF because of comments every 5k lines