# to loop through the array, I found it usefull to increment my count +var ($i) by two # here, scalar(@List), returns the number of elements in the array. for(my $i=0;$i < scalar(@List);$i+=2){
Why increment by two?
In reply to Re^2: subtractionn in an array
by Lotus1
in thread subtractionn in an array
by brachysclereid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |