http://qs321.pair.com?node_id=932691


in reply to XML::Twig prev_sibling

Try using prev_siblings->[0] (not tested, just RTFM-ed).