Mail::Addressbook::Convert::Ldif 1.1 review
Download
|
|
Mail::Addressbook::Convert::Ldif is a Perl module that can convert to and from Ldif formatted addressbooks.
SYNOPSIS
use strict;
use Mail::Addressbook::Convert::Ldif;
my $LDIF = new Mail::Addressbook::Convert::Ldif();
my $LdifInFile ="ldifSample.txt"; # name of the file containing the Ldif data
# Convert Ldif to Standard Intermediate format
# see documentation for details on format.
my $raIntermediate = $LDIF->scan($LdifInFile);
# This will also work
#my @LdifInArray = @arrayContainingTheLdifData;
#my $raIntermediate = $LDIF->scan(@LdifInArray);
# Convert back to Ldif
my $raLdifOut = $LDIF->output($raIntermediate);
print join "", @$raIntermediate;
print "nnnn";
print join "", @$raLdifOut;
Requirements:
Perl, version 5.001 or higher
Carp
Mail::Addressbook::Convert::Ldif 1.1 search tags