foreach my $p (@in_params) { $out_params{$p} = $self->{r}->param($p); }