in reply to use slack;

You could cheat and do this:
my $in = $cgi->param('in'); my @actions = qw(this that foo bar zzz); { no strict 'refs'; foreach(@actions) { $_->() if($_ eq $in); } }

But I like chromatic's suggestion better.

'kaboo