No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi,
I want to dynamically call subroutines based on user input. I know that there are some security concerns with that, but in this scenario I think it should work. Here's the basic idea: Then, later on call it with:
It's basically a big test file, which supports running individual test case ids, which can be passed in through the command line. My question now is: Since there are some security concerns for this and it requires some manual setup (creating the dispatch table, checking whether the sub exists at all, etc.) is there already a module which provides the required functionality? I thought that I can't be the first one ever having to run individual subs based on user input. Thanks!In reply to "Dynamic" dispatch tables by elTriberium
|
|