in reply to Re^3: The maybe it is better written this way tool
in thread The maybe it is better written this way tool

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.