Should you decide to go with dispatch tables (as has been suggested), you may wish to have a look at one of our very fine Tutorials:
HTH,
planetscapeIn reply to Re: Calling subroutines based on variable names...
by planetscape
in thread Calling subroutines based on variable names...
by cosmicperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |