go ahead... be a heretic | |
PerlMonks |
Re: "Dynamic" dispatch tablesby roboticus (Chancellor) |
on Apr 29, 2011 at 18:12 UTC ( [id://902051]=note: print w/replies, xml ) | Need Help?? |
It's really pretty simple to use a dispatch table, so no module is really required. For example:
Update: By themselves, dispatch tables aren't a security concern. As long as the user isn't able to have perl (or the shell, database...) execute a string that the user enters, then everything is under the programs control. Update: Ooops! mr_mischief mentioned that very thing as I was editing my node. ...roboticus When your only tool is a hammer, all problems look like your thumb.
In Section
Seekers of Perl Wisdom
|
|