On Tue, May 5, 2009 at 11:48 PM, breno <oainikus...@gmail.com> wrote:
> On Wed, May 6, 2009 at 2:59 AM, Bill Ward <b...@wards.net> wrote: > > Do you mean Parse::Method::Signatures ? > > > > No, I mean http://search.cpan.org/perldoc?Method::Signatures > http://www.slideshare.net/schwern/methodsignatures-presentation > > I haven't looked at it much, but it seems to fill most of your needs > (not tied to Moose, usable from within methods with a prototype-like > interface). Although it doesn't seem to perform much of a validation > (except for types and traits, I guess), you probably could extend it > with callbacks and regexp the same way Params::Validate does > (although, since you complained about its verbosity, it appears to not > be the case). > It has two deal-breakers for me: 1. Same problem as Moose - it changes the language too much for my taste. I don't see what all the fuss is about declaring $self. 2. Not robust enough - big alpha software warnings are a huge turn-off to me.