http://www.perlmonks.org?node_id=217177


in reply to Re: Removing duplicate subtrees from XML
in thread Removing duplicate subtrees from XML

reply to Update. Well spotted. I hand edited that variable in an attempt make the variable names more meaningfull, prior to pasting. Thanks for all the advice.