perl-Params-Validate -- perl module to validate method/function parameters
http://search.cpan.org/dist/Params-Validate/
The Params::Validate module allows you to validate method or function
call parameters to an arbitrary level of specificity. At the simplest
level, it is capable of validating the required parameters were given
and that no unspecified additional parameters were passed in