sub rscalar { my($count); map { $count++; if (ref eq "ARRAY") { $count = $count + rscalar(@{$_}); } } @_; return $count; }
/****************************/ jason@gost.net, wh@ckz.org http://jason.gost.net /*****************************/
In reply to Re: Finding the length of an array of arrays
by lindex
in thread Finding the length of an array of arrays
by target
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |