[Catalyst] Multiple chain sources?
Bill Crawford
billcrawford1970 at gmail.com
Tue Nov 23 15:57:33 GMT 2010
On 23 November 2010 15:34, Oleg Kostyuk <cub.uanic at gmail.com> wrote:
> $c->forward( $action [, \@arguments ] )
> As I think, $c->forward(user => [$c->user->id]) isn't one of them.
> So, what this should mean?
$c->forward( $action [, \@arguments ] )
$c->forward( 'user' , [ $c->user->id ] )
The '=>' acts like the ',' but quotes its left hand side, hence the
lack of quoting around "user" in the example that you quoted. [0]
[0] No, I couldn't quite wrap my head around parsing this sentence either.
More information about the Catalyst
mailing list