[Catalyst] Need HTML Widget And Validation Assist

Carl Franks fireartist at gmail.com
Mon Apr 17 15:46:15 CEST 2006


On 17/04/06, Dennis Daupert <ddaupert at sbcglobal.net> wrote:
>
>      # Process
>      my $result = $w->process;
>      my $result = $w->process($query);
>
>  I looked around to find out how to access '$query.'
>  Does $query = $c->req?

Yes, the docs don't really explain that, do they? (mental note...)

It means a "CGI.pm compatible query object". Or: an object which
provides a param() method that works the same way as CGI.pm
Which, as luck would have it, the catalyst request object satisfies ;)

Carl



More information about the Catalyst mailing list