in reply to parsing complex xml structure with xml::simple
You can use ref to find out what kind of reference a scalar holds.
But I strongly suspect that what you really need here is XML::Simple's ForceArray option.
"The first rule of Perl club is you do not talk about
Perl club."
-- Chip Salzenberg
|
|---|