in reply to Re: Calling different methods based on a CGI parameterin thread Calling different methods based on a CGI parameter
you can use variables as sub names
my $method = "s" . $name; $object->$method(@args); [download]