ranguard / text-vcard

Perl package to edit and create vCard(s) (RFC 2426)
22 stars 15 forks source link

Organisation entries #40

Closed Stormthirst closed 7 years ago

Stormthirst commented 8 years ago

I'm having some trouble with the module which I'm hoping you can help me with.

When I run the code below:

use vCard::AddressBook; my $address_book = vCard::AddressBook->new(); $address_book->load_file('Fake.Card.vcf'); print $address_book->as_string(); print "\n";

I get this: BEGIN:VCARD VERSION:3.0 N:Card;Card;;; FN:Fake Card EMAIL;TYPE=internet:fake.card@nowhere.com END:VCARD

The vCard is attached, but here's the contents. BEGIN:VCARD VERSION:3.0 FN:Fake Card N:Card;Card;;; EMAIL;TYPE=WORK:fake.card@nowhere.com ORG:Fake Card Org END:VCARD

As you can see from the card there should be an entry for the Organisation, but the output from the script doesn't show an organisation. I've also been trying to use the same module to write vCards, but I can't see how to write the organisation either.

Am I missing something, or is this a bug?

Many thanks in advance,

Andrew

ojwb commented 7 years ago

It looks like PR #36 adds support for this.

ranguard commented 7 years ago

Fixed in #45 I believe - will release to CPAN soon

worthmine commented 7 years ago

I didn't add POD document. should I do? Or someone will do?

ranguard commented 7 years ago

Hi,

Yes, please could you add pod

Thanks

Leo

On 24 Oct 2016, at 01:25, Yuki Yoshida notifications@github.com wrote:

I didn't add POD document. should I do? Or someone will do?

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or mute the thread.