⭐ in reply to Is there an isArray() in Perl?
Alternatively, you can use universal.pm
use UNIVERSAL 'isa'; foreach $item (@array) { if (isa($item, 'ARRAY')) { print "We've got an array!!\n"; } }
In Section
Seekers of Perl Wisdom