Consider using a dispatch table. Read the PerlMonks node Implementing Dispatch Tables by Roy Johnson.
In reply to Re: Is this a simple, robust, and maintainable design?
by Jim
in thread Is this a simple, robust, and maintainable design?
by neodon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |