[Catalyst] Using a post argument in a template

James S. White james at jameswhite.org
Fri Jul 25 05:12:17 BST 2008


I'm passing an argument to the method via a post, and then catch it with
my ( $self, $c, $myarg ) = @_; shouldn't there be a way to mine it without
using [% c.req.arguments.0 %] in the template?

like [% c.controller('Page').methodname.myarg %] or something...

I'm trying to get my head around what catalyst expects...




More information about the Catalyst mailing list