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
In reply to Re: parsing complex xml structure with xml::simple
by davorg
in thread parsing complex xml structure with xml::simple
by bfdi533
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |