Wed Sep 03 17:50:02 2014robert.lander [...] t-online.de - Ticket created
Subject:
mistake in example of the module/class description?
Date:
Wed, 3 Sep 2014 23:49:39 +0200
To:
bug-Text-vCard [...] rt.cpan.org
From:
"Robert Lander" <robert.lander [...] t-online.de>
Hi,
I'm not an expert in perl but when taking the example and trying it the
foreach my $vcard ( $address_book->vcards() )
results that $vcard is set with an reference to an array (and not a single vcard)
The following foreach with type conversion works:
foreach my $vcard ( @{$address_book->vcards()} )
Best regards
Robert