Have you considered using a dispatch table?
This link regarding dispatch tables should get you started...
In reply to Re: Trying to get around the "use strict 'refs'" Issue
by thezip
in thread Trying to get around the "use strict 'refs'" Issue
by qazwart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |