in reply to Index isn't progressing in C-style for loop

You loops are much better written Perl style:

for my $annoIndex (0 .. $#gbList) {

instead of your current C style loops which are verbose, confusing and error prone.

Premature optimization is the root of all job security