my $cgi = new CGI; $my_code->{$cgi->param("action"))->($cgi);