in reply to Re: Is there an isArray() in Perl?
in thread Is there an isArray() in Perl?
foreach $item (@array) { if (UNIVERSAL::isa($item, 'ARRAY')) { print "We've got an array!!\n"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Answer: Is there an isArray() in Perl?
by ysth (Canon) on May 13, 2005 at 16:13 UTC |