in reply to Re: printing values within a given range
in thread printing values within a given range

Re perl-like for loops you should check perlsyn. However, briefly, they're
for (@list) { do_something }
or
for my $item (@list) { do_something }
Now it seems to me others already answered most of your other questions. Only thing to add: "OP" stands for either "Original Poster" or "Original Post", depending on the context. Well, that's how I have always understood it...