Params::Util provides a basic set of importable functions that makes checking parameters a hell of a lot easier. WWW: https://metacpan.org/release/Params-Util