So you'rehe's saying I shouldn't do the following?
for my $i (0..$#array) { ... }
No. The proper answer is not to avoid $#array, it's to avoid $[.
$[ has long been discouraged, it is deprecated in 5.12, and it will be removed for 5.14.
In reply to Re^4: The maybe it is better written this way tool
by ikegami
in thread The maybe it is better written this way tool
by szabgab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |