in reply to XML::Twig prev_sibling

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