Types::Common(3pm)

Types::Common3pm

The one stop shop

Status

This module is covered by the Type-Tiny stability policy.

Planned future changes

In the future, this module may also export "signature_for_func" and "signature_for_method".

Overview

Types::Common doesn't provide any types or functions of its own. Instead it's a single module that re-exports:

•

All the types from Types::Standard.

•

All the types from Types::Common::Numeric and Types::Common::String.

•

All the types from Types::TypeTiny.

•

The "-sigs" tag from Type::Params.

•

The t() function from Type::Registry.

If you import t(), it will also be preloaded with all the type constraints offered by Types::Common.

Export

"use Types::Common qw( -types -sigs t )" might be a sensible place to start.

"use Types::Common -all" gives you everything.

If you have Perl 5.37.2+, then "use Types::Common qw( -lexical -all )" won't pollute your namespace.

Disclaimer of warranties

THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

Releases

3 releases since Debian 12 (Bookworm); the text changed 2 times.

  1. 12
  2. 13
  3. Arch

Bugs

Please report any bugs to <https://github.com/tobyink/p5-type-tiny/issues>.

Author

Toby Inkster <[email protected]>.

From perl-type-tiny 2.010001-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.