for(my $i=0;$i<@array;$i++) { print("$array[$i] is the $i element\n"); }
In reply to Re: find the element position of $scalar
by
in thread find the element position of $scalar
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |