-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hi Yuki,
after being successfully able to WRITE a vcard with your nice modules, I now want to READ them back. To apply changes, finally.
I have the following small script:
#!/usr/bin/perl
#
use strict;
use warnings;
use utf8;
use Data::Dumper;
use Text::vCard::Precisely;
my $vc = Text::vCard::Precisely->load_file('myvcard.vcf');
print Dumper $vc;
=pod
$VAR1 = 'Text::vCard::Precisely';
=cut
print $vc->as_string();
=pod
Can't use string ("Text::vCard::Precisely") as a HASH ref while "strict refs" in use at reader Text::vCard::Precisely::version (defined at /home/michael/perl5/lib/perl5/Text/vCard/Precisely.pm line 11) line 5.
=cut which fails, respective output added as pod.
myvcard.vcf is a valid v3 vcard, written with as_file before, loads fine e.g. into Nextcloud.
Any hints? Should it work this way? Anything missed by me? Bug?
Regards,
Michael
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels