Comment by kqr

Comment by kqr 16 hours ago

0 replies

Perl is usually used with the first element being zero and the same loop would be

    for (0..$#arr) {
        foo(arr[$_])
    }
Whatever you're feeling is not in starting at one.