Closed michaelof closed 4 years ago
WOW! you've mastered Markdown😂
In conclusion, this is a bug. I've certainly made those even if those disappear now.
No, it's not a bug! just replace your code like s/type/types/g;
I can add an alias that is treated as same. it has duplication for Moose's existing method name.
So, you have to type 'types'.
Cool!
Works with
push @tels, { types => ['cell'], content => "+491234567890" } ;
push @tels, { types => ['voice','home'], content => "+499876543210" } ;
But I believe that we've a documentation issue here, as https://metacpan.org/pod/Text::vCard::Precisely#tel() says:
tel()
Accepts/returns an ArrayRef that looks like:
[
{ type => ['work'], content => '651-290-1234', preferred => 1 },
{ type => ['home'], content => '651-290-1111' },
]
"type", not "types", maybe a "typo"? :)
It must be a typo. Thanks for pointing out!
Seen in https://github.com/worthmine/Text-vCard-Precisely/blob/master/README.md that docs are updated. Maybe next time I could help here myself.
THANK YOU
親愛なるユキ,
(c) Google Translate :)
When passing tel types to vcards like this:
I'm getting the following vcard:
Means that any tel type information is not in the vcard. Following TEL section 6.4.1 in RFC 6350 https://tools.ietf.org/html/rfc6350#section-6.4.1
Is this missing because not implemented by you, or did I maybe misunderstand something?