sub somerunmode { my $value1 = $self->param('key1'); my $value2 = $self->param('key2'); ... }