http://www.perlmonks.org?node_id=526502


in reply to Efficient code.

A meta-answer:

PBP, p. 456, says to benchmark, not optimize code.

Personally, I favor brute force, i.e. line by line, because I'm not too clever.