On Sat, Aug 13, 2005 at 07:27:56AM -0500, Ken Williams wrote: > > > >This is simple, but I'm tired of rewriting it. Params::Validate can > >handle it, but I don't want to fire up a diesel engine when this is all > >I need. > > I wouldn't be so sure. Params::Validate is pretty nice for this kind > of thing, and has been tested for a long time. Before discounting it, > have you measured the actual resource impact?
I would hope it would be fairly minimal, in it's mode of disabling validation: http://search.cpan.org/~drolsky/Params-Validate-0.78/lib/Params/Validate.pm#DISABLING_VALIDATION Mark