in reply to
Repeating the same command in different portions of input
By the way, perlintro is a good reading for beginners, and its section Conditional and looping constructs contains basic informarion about loops in Perl.
I have absolutely zero preference
Results (63 votes),