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


in reply to To sub or not to sub, that is the question?

I always try to use the following: In other words, if in doubt, make it a sub. It will make your code easier to maintain.

Mick