#scalar my $test = $doc->findnodes($xpath); #list my @test = $doc->findnodes($xpath);