use strict; use warnings; use XML::Simple; use Data::Printer; my $data = do { local $/; }; # slurp DATA my $ref = XMLin( $data, #KeyAttr => { Question => 'questionId' }, # unordered data ForceArray => ['item'], ContentKey => '-content' ); p $ref; __DATA__ TNHSCS010001 Jenkins is primiary used of ... Nightly Builds CI Builds Report Generation All the above TNHSCS010002 CI builds are setup to ... Catch potentail build errors Find bugs Reduce build time None of the above