in reply to Outlook Addressbook Import
You can export the address book to a CSV file and then read that. The only caveout is that some fields may contain newlines, so you can't equate end-of-line with end-of-record. I have no idea if the CSV modules out there handle this correctly, but last I checked (~1 year ago) they didn't. I believe you have an option in Outlook of what fields to export, so if you find it just export the fields you want.
Tiago
Re: Re: Outlook Addressbook Import
by Corion (Patriarch) on Mar 13, 2002 at 22:10 UTC
|
tillys Text::xSV handles linefeeds in CSV records, as long as the values are quoted. It's a pure Perl module and thus relatively slow, but I guess that importing stuff from the Outlook object model and/or the MAPI accesses would be the bigger bottleneck.
perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The
$d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider
($c = $d->accept())->get_request(); $c->send_response( new #in the
HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
| [reply] [d/l] |
|