in reply to Re: Calling different methods based on a CGI parameter
in thread Calling different methods based on a CGI parameter

you can use variables as sub names
Or method names:
my $method = "s" . $name; $object->$method(@args);