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


in reply to A question about the best way to use subroutines

A really general rule is "one level of abstraction".  Basically, if I'm dealing with the _details_ of one step in a routine, that becomes a subroutine.  Then in the new routine, the details become the top level.

p
  • Comment on Re: A question about the best way to use subroutines