Thread Bug in Text::vCard??? (6 answers)
Opened by harvey at 2009-03-26 16:56

renee
 2009-03-26 18:03
#119860 #119860
User since
2003-08-04
14371 Artikel
ModeratorIn
[Homepage] [default_avatar]
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/usr/bin/perl
use strict;
use warnings;
use Text::vCard;
use Text::vCard::Addressbook;

my $address_book = Text::vCard::Addressbook->new();
my $vcard = $address_book->add_vcard();

# Add a node to it
my $address = $vcard->add_node({
                        'node_type' => 'ADR',
                });

# Add some data to the address.
$address->street('19 The mews');
$address->city('Buffyvill');

my $vcf_file = $address_book->export();
print ("$vcf_file");
OTRS-Erweiterungen (http://feature-addons.de/)
Frankfurt Perlmongers (http://frankfurt.pm/)
--

Unterlagen OTRS-Workshop 2012: http://otrs.perl-services.de/workshop.html
Perl-Entwicklung: http://perl-services.de/

View full thread Bug in Text::vCard???