in reply to
check if variable is an array
If you call
XML::Simple
with
ForceArray => [qw(accession)]
, then it will always be an array, and you don't need such a check in your code.
Comment on
Re: check if variable is an array
Download
Code
In Section
Seekers of Perl Wisdom