Current Path : /usr/local/lib/perl5/site_perl/5.8.9/XML/Atom/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/lib/perl5/site_perl/5.8.9/XML/Atom/Person.pm |
# $Id: Person.pm 39 2006-08-16 05:34:19Z miyagawa $ package XML::Atom::Person; use strict; use base qw( XML::Atom::Base ); use XML::Atom; use XML::Atom::Feed; use XML::Atom::Entry; __PACKAGE__->mk_elem_accessors(qw( email name uri url homepage )); for my $class (qw( XML::Atom::Feed XML::Atom::Entry )) { $class->mk_object_accessor( author => __PACKAGE__ ); $class->mk_object_accessor( contributor => __PACKAGE__ ); } sub element_name { 'author' } 1; __END__ =head1 NAME XML::Atom::Person - Author or contributor object =head1 SYNOPSIS my $person = XML::Atom::Person->new; $person->email('foo@example.com'); $person->name('Foo Bar'); $entry->author($person); =head1 DESCRIPTION I<XML::Atom::Person> represents an author or contributor element in an Atom feed or entry. =head1 USAGE =head2 XML::Atom::Person->new =head2 $person->email([ $email ]) =head2 $person->name([ $name ]) =head2 $person->uri([ $uri ]) =cut