in reply to Naming Subs

Use OOP. Really. There's no reason to use refs.. though that's what objects really are.
Create a Command object that has all the base things for a "Command" and inheret off of that other commands, implementing the same method over-and-over. As for creating which command to do, put the object names in a hash and "new" the one you need.

Replies are listed 'Best First'.
Re^2: Naming Subs
by Aristotle (Chancellor) on Jan 13, 2003 at 09:16 UTC
    What's the point in creating dozens of single method classes to look up through a hash? You are basically creating a dispatch hash, except with extra buzzword compliance by jumping through a useless OO hoop first.

    Makeshifts last the longest.

      simple, it's more organized and less code to write.