use Bio::DB::Taxonomy; my $db = Bio::DB::Taxonomy->new(-source => 'entrez'); # use NCBI Entrez over HTTP my $taxonid = $db->get_taxonid('Homo sapiens'); # get a taxon my $taxon = $db->get_taxon(-taxonid => $taxonid);