in reply to Re^2: Nested data with XML::Simple
in thread Nested data with XML::Simple

Yes, but not really

If you use that, then  my ( $orderDetail ) = $message->{OrderDetail}; is undef, so no loops will ever get entered

But you say the loop does get entered, so I offer you How do I post a question effectively? , because typos and pseudocode don't work as debugging methods