use XML::Simple (); #### $outxmlParsed = XML::Simple::XMLin($1);