BBDB

BBDB is a Perl module to read and write BBDB files.
Download

BBDB Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Henry Laxen
  • Publisher web site:
  • http://search.cpan.org/~laxen/Kwiki-PrinterFriendly-0.13/lib/Kwiki/PrinterFriendly.pm

BBDB Tags


BBDB Description

BBDB is a Perl module to read and write BBDB files. BBDB is a Perl module to read and write BBDB files.SYNOPSIS use BBDB; my $x = new BBDB(); $x->decode($string); my $str = $x->encode(); # At this point, subject to the BUGS below # $str is the same as $string my $allR = BBDB::simple('/home/henry/.bbdb'); map { print $_->part('first')} @$allR; # print out all the first namesData FormatThe following is the data layout for a BBDB record. I have created a sample record with my own data. Each field is just separated by a space. I have added comments to the right Phone number field - US style Phone number field - US style Phone number field - International style ) ( ) ("nadine.and.henry@pobox.com" The net addresses - a list of strings "maztravel@maztravel.com") ((creation-date . "1999-09-02") The notes field - a list of alists (timestamp . "1999-10-17") (notes . "Always split aces and eights") (birthday "6/15") ) nil The cache vector - always nil ]After this is decoded it will be returned as a reference to a BBDB object. The internal structure of the BBDB object mimics the lisp structure of the BBDB string. It consists of a reference to an array with 9 elements The Data::Dumper output of the above BBDB string would just replaces all of the ()s with []s. It can be accessed by using the $bbdb-part('all')> method. For completeness, here is the output of Data::Dumper for the above record: $VAR1 = bless( { 'data' => , 'Elegant Solutions', ], ], ], , 'San Anselmo', 'CA', '94960', 'USA' ], , 'Mazatlan', 'Sinaloa', 'CP-82110', 'Mexico' ] ], , , , , ] ] }, 'BBDB' ); Requirements: · Perl


BBDB Related Software