in reply to about catalyst response redirect
I don't think uri_for works like that. From the docs:
So maybe something like:
my $itemid = 16; my $path = "/lender/loan/loan_details"; $c->response->redirect( $c->uri_for( $path, { itemid => $itemid, Displ +ay => 1 } );
Completely untested and assuming the rest of your code is correct. To test that, try just: $c->response->redirect( "/lender/loan/loan_details?itemid=$itemid&Display" ); to make sure that part works.
--chargrill
s**lil*; $*=join'',sort split q**; s;.*;grr; &&s+(.(.)).+$2$1+; $; = qq-$_-;s,.*,ahc,;$,.=chop for split q,,,reverse;print for($,,$;,$*,$/)
In Section
Seekers of Perl Wisdom