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). Cheers,