Convert::Addressbook::Mozilla2Blackberry

Convert::Addressbook::Mozilla2Blackberry is a Perl extension for converting a CSV comma delimited addressbook from Mozilla.
Download

Convert::Addressbook::Mozilla2Blackberry Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Price:
  • FREE
  • Publisher Name:
  • John Constable
  • Publisher web site:
  • http://search.cpan.org/~kript/Convert-Addressbook-Mozilla2Blackberry-0.01/lib/Convert/Addressbook/Mozilla2Blackberry.pm

Convert::Addressbook::Mozilla2Blackberry Tags


Convert::Addressbook::Mozilla2Blackberry Description

Convert::Addressbook::Mozilla2Blackberry is a Perl extension for converting a CSV comma delimited addressbook from Mozilla. Convert::Addressbook::Mozilla2Blackberry is a Perl extension for converting a CSV comma delimited addressbook from Mozilla to Blackbery csv import format.SYNOPSIS use Mozilla::Mork; use Convert::Addressbook::Mozilla2Blackberry; #get the file from the command line or quit with an error $file = $ARGV; unless ($file) { die "Useage: $0 n"; } #access the address book and setup the memory structure my $MorkDetails = Mozilla::Mork->new($file); #get a reference to an array of hash's my $results = $MorkDetails->ReturnReferenceStructure(); #create an instance of the converter code my $converter = Convert::Addressbook::Mozilla2Blackberry->new(); #print the Blackberry File headers $converter->PrintBlackberryHeaders(); #process those results # for each line in the database # each line in the database corresponds to an address book record # pass this reference to the StreamConvert routine which will # convert and print it for my $record_array ( @{$results} ) { $converter->StreamConvert($record_array); }This is a module that builds on the Mozilla::Mork module to translate the Mozilla address book to a CSV format suitable for importing into a Blackberry via the Desktop Manager (i.e. even the CSv fields are in the correct order). Requirements: · Perl


Convert::Addressbook::Mozilla2Blackberry Related Software