Net::LDAP::LDIF -- LDIF reading and writing
$ldif = Net::LDAP::LDIF->new( ``file.ldif'', ``r'' );
while( $entry = $ldif->
$ldif = Net::LDAP::LDIF->new( $fh, ``r'' ); @entries = $ldif->read();
Net::LDAP::LDIF provides a means to convert between Net::LDAP::Entry objects and LDAP entries represented in LDIF format files. Reading and writing are supported and may manipulate single entries or lists of entries.
As when reading an entire file into memory with perl normally, take into account the possibility of memory use when loading an LDIF file in one go.
Graham Barr <email@example.com>.
Please report any bugs, or post any suggestions, to the perl-ldap mailing list <firstname.lastname@example.org>.
Copyright (c) 1997-2000 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.