
pagaltzis at gmx
Dec 29, 2011, 4:17 PM
Post #3 of 3
(401 views)
Permalink
|
* Emanuele Zeppieri <emazep [at] gmail> [2011-12-29 06:15]: > +=head2 $c->visit( $action [, \@arguments ] ) > + > =head2 $c->visit( $action [, \@captures, \@arguments ] ) > > +=head2 $c->visit( $class, $method, [, \@arguments ] ) > + > =head2 $c->visit( $class, $method, [, \@captures, \@arguments ] ) If you are going to expand one case, why not expand the no-ref case also, and drop the confusing/misleading [ ] metasyntax entirely? +=head2 $c->visit( $action ) + +=head2 $c->visit( $action, \@arguments ) + =head2 $c->visit( $action, \@captures, \@arguments ) +=head2 $c->visit( $class, $method ) + +=head2 $c->visit( $class, $method, \@arguments ) + =head2 $c->visit( $class, $method, \@captures, \@arguments ) Just a thought. It does get a bit long that way, so I’m not sure which evil I prefer. Regards, -- Aristotle Pagaltzis // <http://plasmasturm.org/> _______________________________________________ Catalyst-dev mailing list Catalyst-dev [at] lists http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev
|