Params::Util provides a basic set of importable functions that makes checking parameters a hell of a lot easier. WWW: http://search.cpan.org/dist/Params-Util/