in reply to Efficient Perl Programming

You may want to take a look at Optimization of Computer Programs in C. It's ostensibly about C, but actually most of the optimization techniques it discusses (such as loop expression hoisting) are applicable in any language, including Perl.