Data::Microformat::hCard::name - A module to parse and create names within hCards


Data-Microformat documentation Contained in the Data-Microformat distribution.

Index


Code Index:

NAME

Top

Data::Microformat::hCard::name - A module to parse and create names within hCards

VERSION

Top

This documentation refers to Data::Microformat::hCard::name version 0.03.

DESCRIPTION

Top

This module exists to assist the Data::Microformat::hCard module with handling names in hCards.

SUBROUTINES/METHODS

Top

class_name

The hCard class name for a name; to wit, "n."

singular_fields

This is a method to list all the fields on a name that can hold exactly one value.

They are as follows:

given_name

The given, or "first," name.

additional_name

The additional, or "middle," name.

family_name

The family, or "last," name.

honorific_prefix

Any honorific prefix, such as "Dr."

honorific_suffix

Any honorific suffix, such as "Ph.D."

plural_fields

This is a method to list all the fields on a name that can hold multiple values.

There are none for a name.

BUGS

Top

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.

AUTHOR

Top

Brendan O'Connor, <perl at ussjoin.com>

COPYRIGHT

Top

LICENSE

Top

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__