On Thu, Dec 18, 2008 at 10:55:38AM +0100, Johan Vromans wrote: > Could this be enhanced to turn > > sub square ($num) : method { > > into > > sub square { > my ($self, $num) = @_; It could. > (Although I'd prefer "method square ($num){" ) So do I. That's what MooseX::Method::Signatures (the module that implements the method keyword for MooseX::Declare), Method::Signatures::Simple and Method::Signatures is for. -- BOFH excuse #60: system has been recalledThread Previous | Thread Next