On 23 November 2010 15:34, Oleg Kostyuk <cub.ua...@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.

_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to