Description
Perl applications can declare type constraints and coercions for values passed through APIs and object attributes. This helps code reject invalid data early and convert accepted values consistently.
It is a developer library. Type constraints improve clarity, but they should be paired with domain-specific validation when data comes from users, files, or network services.