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


in reply to Re: routine as subroutine and on command line
in thread routine as subroutine and on command line

I'd just like to shout out my strong reccomendation against using symbolic references (or typeglobs in this fashion)! =)

It has been my experience that code like this quickly becomes less than maintainable.
If one were to take this approach (as opposed to modules), a dispatch table would be much more desirable.