my $itemid = 16; my $path = "/lender/loan/loan_details"; $c->response->redirect( $c->uri_for( $path, { itemid => $itemid, Display => 1 } );