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?idY601
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?idY601
Thanks, applied in git commit hash: 8431b9cc52d1
