Types::Common(3)
๐ Types::Common ๐
okay bestie, welcome to the one stop shop โจ this is Types::Common(3), straight out of the User Contributed Perl Documentation, and it is literally the module that has everything you need in one place. no cap.
๐ธ STATUS ๐ธ
This module is covered by the Type-Tiny stability policy. so like, it's not going anywhere, it's committed, it's giving stable relationship energy ๐ซถ
๐ฎ PLANNED FUTURE CHANGES ๐ฎ
In the future, this module may also export signature_for_func and signature_for_method. that's it, that's the tea โ not yet, but possibly someday, iykyk.
โจ DESCRIPTION โจ
So here's the thing โ Types::Common doesn't provide any types or functions of its own. none. zero. it's not that kind of module. ๐
Instead it's a single module that re-exports a whole friend group of stuff:
- All the types from
Types::Standard. ๐ - All the types from
Types::Common::NumericandTypes::Common::String. ๐ - All the types from
Types::TypeTiny. ๐ฆ - The
-sigstag fromType::Params. โญ - The
t()function fromType::Registry. ๐
and here's the little bonus detail that makes it chef's kiss: if you import t(), it will also be preloaded with all the type constraints offered by Types::Common. so it already knows everybody at the party. iconic behaviour, honestly. ๐
๐๏ธ EXPORT ๐๏ธ
use Types::Common qw( -types -sigs t )
might be a sensible place to start. like, that's your lil starter pack bestie ๐
use Types::Common -all
gives you everything. the whole closet. every single thing. ๐ฅ
and if you have Perl 5.37.2+, then:
use Types::Common qw( -lexical -all )
won't pollute your namespace. clean girl aesthetic, no mess, no leftover variables in your global scope ๐งโจ
๐ BUGS ๐
Please report any bugs to <https://github.com/tobyink/p5-type-tiny/issues>.
like, if something's broken, don't suffer in silence, tell the maintainer ๐ซถ not me tho, i'm just the messenger ๐
๐ SEE ALSO ๐
Types::StandardTypes::Common::NumericTypes::Common::StringType::ParamsType::Registry
go read those too, they're the supporting cast and they ate ๐
๐ซถ AUTHOR ๐ซถ
Toby Inkster <tobyink@cpan.org>. the main character honestly ๐
๐ COPYRIGHT AND LICENCE ๐
This software is copyright (c) 2022-2025 by Toby Inkster.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. so like, go forth, remix, redistribute, it's yours ๐
โ ๏ธ 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.
fr fr, no promises, no guarantees, you get what you get ๐ญ read that one twice bestie, it's all caps for a reason.
okay that's the whole page!! ๐โจ๐ this beauty is from perl v5.42.0, dated 2026-01-17, and it lives at Types::Common(3) โ mwah, slay, periodt ๐
๐ธ๐ฆ
๐ฆ where this page comes from
- fedora 44: perl-Type-Tiny 2.010001-2.fc44 ยท GPL-1.0-or-later OR Artistic-1.0-Perl
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms