On Tue, May 5, 2009 at 8:27 PM, Hans Dieter Pearcey < hdp.perl.module-auth...@weftsoar.net> wrote:
> 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<http://search.cpan.org/%7Edrolsky/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? Just a philosophical objection to frameworks. I like Perl's OO the way it is, thanks. > > 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<http://search.cpan.org/%7Ehdp/Params-Validate-Micro-0.032/lib/Params/Validate/Micro.pm> > I'll take a look at that. -- Check out my LEGO blog at http://www.brickpile.com/ View my photos at http://flickr.com/photos/billward/ Follow me at http://twitter.com/williamward