![]() |
![]()
| ![]() |
![]()
NAMEXML::FOAF::Person - A Person class in a FOAF file SYNOPSISmy $foaf = XML::FOAF->new(URI->new('http://foo.com/my.foaf')); my $person = $foaf->person; print $person->mbox, "\n"; my $people = $foaf->knows; DESCRIPTIONXML::FOAF::Person represents a Person class in a FOAF file. USAGEYou can use any property as a method name and call it on a XML::FOAF::Person object. For example: my $email = $person->mbox; my $name = $person->name; In addition to this, some methods with special beheavior are defined below: $person->knowsReturns a reference to an array of XML::FOAF::Person objects representing the people that $person knows. AUTHOR & COPYRIGHTPlease see the XML::FOAF manpage for author, copyright, and license information.
|