XML::FOAF::Person - A Person class in a FOAF file
my $foaf = XML::FOAF->new(URI->new('http://foo.com/my.foaf')); my $person = $foaf->person; print $person->mbox, "\n"; my $people = $foaf->knows;
XML::FOAF::Person represents a Person class in a FOAF file.
You 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:
Returns a reference to an array of XML::FOAF::Person objects representing the people that $person knows.
Please see the XML::FOAF manpage for author, copyright, and license information.