Help for this page
#!/usr/bin/perl use warnings; ... my ($bfm) = $root->findnodes('//breakfast_menu'); say for $bfm->findnodes('(following-sibling::* | preceding-sibling::*) +');