February 2023 Archives

Using Type::Params Effectively

One of the modules bundled with Type::Tiny is Type::Params, a module that allows you to validate subroutine signatures using type constraints. It's one of the more popular parts of the suite.

This article provides a few hints for using it effectively.

About Toby Inkster

user-pic I'm tobyink on CPAN, IRC and PerlMonks.