On Tue, May 05, 2009 at 08:04:35PM -0700, Bill Ward wrote: > I'm not interested in being locked-in to a framework like Moose, so I won't > even consider those.
http://search.cpan.org/~drolsky/Moose-0.77/lib/Moose/Util/TypeConstraints.pm#Use_with_Other_Constraint_Modules Moose's type constraints subsume pretty much anything else. What's the "lock-in" you're worried about? > Params::Validate has the right features, but I really don't like the verbosity > of its configuration. I was hoping for something more like the Perl > prototyping or Getopt::Long syntax. Maybe I'll write a wrapper around > Params::Validate? I did that once, if it helps. http://search.cpan.org/~hdp/Params-Validate-Micro-0.032/lib/Params/Validate/Micro.pm hdp.