Type::P...natives(3)
π¦ NAME π¦
Type::Params::Alternatives β a subclass of Type::Params::Signature for "multi" signatures.
ok so this manual page is Type::P...natives(3) (the header is doing a little truncation moment, no cap), straight out of User Contributed Perl Documentation. welcome to the group chat, bestie π
π STATUS π
Real talk: this module is not covered by the Type-Tiny stability policy. so the stability policy is literally not its guardian angel. π
β¨ DESCRIPTION β¨
This is mostly internal code, but it can be used to provide basic introspection for signatures. itβs lowkey giving βbackstage passβ energy, fr fr.
This module is a subclass of Type::Parameters::Signature, so it inherits attributes and methods from that. periodt.
π Constructor π
new(%attributes)
πΈ Attributes πΈ
not me being obsessed with read-only attributes, but every attribute here is read-only β no take-backsies, no sneaky edits. π
base_optionsβ HashRef.alternativesβ ArrayRef[HashRef|ArrayRef|CodeRef].sig_classβ ClassName.meta_alternativesβ ArrayRef[HashRef]. Automatically built fromalternatives; do not set this yourself, bestie.parametersβ ArrayRef. Overridden from the parent class to always return the empty arrayref. iconic behavior, honestly.messageβ Str. Error message to be thrown when none of the alternatives match. This is a bare attribute with no accessor method β so thereβs no accessor method coming to save you. π
π BUGS π
Please report any bugs to <https://github.com/tobyink/p5-type-tiny/issues>. do it for the plot, bestie.
π₯ SEE ALSO π₯
Type::ParamsType::Params::Signature
π AUTHOR π
Toby Inkster <tobyink@cpan.org>. π
π COPYRIGHT AND LICENCE π
This software is copyright (c) 2023-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.
π«Ά 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.
π ok thatβs the whole page, bestie. this footer moment came fromperl v5.42.2, dated2026-04-07, and the page isType::P...natives(3). mwah π
π¦ where this page comes from
- alpine 3.24: perl-type-tiny-doc 2.010001-r0 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms