If you're going to go the mini-language route Module::Pluggable seems like a good choice.
I came across it with this simple introduction a couple of days ago.
In reply to Re^3: Creating subroutines on the fly
by skx
in thread Creating subroutines on the fly
by pander
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |