On Tue, 5 May 2009, Bill Ward wrote:
I'm often having to add a half dozen lines of code to every subroutine to perform argument validation and I'd like to offload it once and for all into a CPAN module. Has anyone written or seen such a beast? I haven't, so I've started writing it... but then, what to call it? My working title is ArgsChecker.pm but it should be put into a hierarchy - Data:: perhaps?
Please don't write yet another one. Params::Validate Params::Util (sort of a validator) Moose + MooseX::Params::Validate MooseX::Method::Signatures Perl6::Signature and probably five dozen more. -dave /*============================================================ http://VegGuide.org http://blog.urth.org Your guide to all that's veg House Absolute(ly Pointless) ============================================================*/