palette has asked for the wisdom of the Perl Monks concerning the following question:


I am using a cgi. I have some condition and based upon that I want to call different methods in the cgi file.

_upload_table1 { } _upload_table2 { }
I will get the table1, table2 value from cgi
$tablename=cgi->param('tablename'); _upload_$tablename(args);

How can i call the method dynamically