And since $_->[2] is either 0 or 1 you could do:
$length+=$_->[2] for @select;
In reply to Re^4: Length of multidimensional array based on the particular index value
by jwkrahn
in thread Length of multidimensional array based on the particular index value
by k_manimuthu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |