Help for this page

Select Code to Download


  1. or download this
    my $foaf = XML::FOAF->new(URI->new('http://glenn.typepad.com/foaf.rdf'
    +));
    my $person = $foaf->person;
    my @people = $person->knows;
    
  2. or download this
    foreach (@people[0)
    {
        print $_;
    }
    
  3. or download this
        my @pp = $_;
        print $pp[0][0]->name;