| Data-Microformat documentation | Contained in the Data-Microformat distribution. |
Data::Microformat::hCard::name - A module to parse and create names within hCards
This documentation refers to Data::Microformat::hCard::name version 0.03.
This module exists to assist the Data::Microformat::hCard module with handling names in hCards.
The hCard class name for a name; to wit, "n."
This is a method to list all the fields on a name that can hold exactly one value.
They are as follows:
The given, or "first," name.
The additional, or "middle," name.
The family, or "last," name.
Any honorific prefix, such as "Dr."
Any honorific suffix, such as "Ph.D."
This is a method to list all the fields on a name that can hold multiple values.
There are none for a name.
Please report any bugs or feature requests to
bug-data-microformat at rt.cpan.org, or through the web interface at
http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Data-Microformat. I will be
notified,and then you'll automatically be notified of progress on your bug as I
make changes.
Brendan O'Connor, <perl at ussjoin.com>
Copyright 2008, Six Apart Ltd. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose.
| Data-Microformat documentation | Contained in the Data-Microformat distribution. |
package Data::Microformat::hCard::name; use base qw(Data::Microformat); use strict; use warnings; our $VERSION = "0.04"; sub class_name { "n" } sub plural_fields { qw() } sub singular_fields { qw(honorific_prefix given_name additional_name family_name honorific_suffix) } 1; __END__