it would have to be: do { $length++ if $_->[2] } for @select;
Can also be:
$_->[2] and $length++ for @select;
In reply to Re^3: Length of multidimensional array based on the particular index value
by BrowserUk
in thread Length of multidimensional array based on the particular index value
by k_manimuthu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |