The stupid question is the question not asked | |
PerlMonks |
Re: Calling different methods based on a CGI parameterby moritz (Cardinal) |
on May 21, 2008 at 12:46 UTC ( [id://687760]=note: print w/replies, xml ) | Need Help?? |
Although dispatch tables are the prefered way to do it, you can use variables as sub names:
Be aware that this might open some security holes depending on your application. You have been warned!
In Section
Seekers of Perl Wisdom
|
|