http://qs1969.pair.com?node_id=687750

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

Hi,

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

Eg:
_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