On 23 November 2010 15:34, Oleg Kostyuk <[email protected]> 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: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/