[Catalyst-dev] visit() and go() doc patch
Kieren Diment
diment at gmail.com
Thu Dec 29 05:35:17 GMT 2011
On 29/12/2011, at 4:11 PM, Emanuele Zeppieri wrote:
> Though formally correct, the visit() and go() documented signatures can be misleading, since they say (e.g. for visit):
>
> $c->visit( $action [, \@captures, \@arguments ] )
> ...
>
> while visit() can be called also with a single arrayref argument, with the following /unexpected/ semantics:
>
> $c->visit( $action, \@arguments );
>
> This is a small doc patch to clarify that (well, unless there is some reason to keep it undocumented - but this way the user can easily be misled).
>
> It should also close the #59601 RT ticket:
> https://rt.cpan.org/Public/Bug/Display.html?id=59601
Thanks, applied in git commit hash: 8431b9cc52d1
More information about the Catalyst-dev
mailing list