
emazep at gmail
Dec 28, 2011, 9:11 PM
Views: 410
Permalink
|
|
visit() and go() doc patch
|
|
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 Cheers -Emanuele
|