my $app = MyApp->new(PARAMS=>{'id'=>123}); # then access it as: my $id = $app->param('id');