News for hackers. Stuff that matters.
Re:Why I chose Lua for this blog by kqr on Friday October 03, 2025 @12:06AM (#45458856)
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.

There are no comments on this comment yet.