xorl has asked for the wisdom of the Perl Monks concerning the following question: ⭐ (arrays)
I need to figure out if an element in an array is an array.
I have something like:
Thanks
I want to test each element and if the element is array I want it to do something special.my @array=("red", "blue", "green", ["purple", "orange"]);
Thanks
Originally posted as a Categorized Question.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Is there an isArray() in Perl?⭐
by Flame (Deacon) on Oct 16, 2001 at 00:33 UTC | |
Re: Is there an isArray() in Perl?⭐
by suaveant (Parson) on Oct 15, 2001 at 22:48 UTC | |
Re: Is there an isArray() in Perl?⭐
by jacques (Priest) on May 10, 2005 at 20:22 UTC | |
by salva (Canon) on May 11, 2005 at 10:42 UTC | |
by ysth (Canon) on May 13, 2005 at 16:13 UTC | |
Re: Is there an isArray() in Perl?⭐
by jdporter (Paladin) on Mar 03, 2008 at 15:49 UTC | |
by swampyankee (Parson) on Mar 03, 2008 at 17:09 UTC | |
by jdporter (Paladin) on Mar 08, 2008 at 20:57 UTC | |
by naikonta (Curate) on Mar 06, 2008 at 17:04 UTC | |
Re: Is there an isArray() in Perl?
by Molt (Chaplain) on May 11, 2005 at 11:37 UTC |
Back to
Seekers of Perl Wisdom