MooseX...TypeMap(3pm)
π MooseX::Getopt::OptionTypeMap β the manual, but make it cute π
okay bestie, so this is MooseX::Getopt::OptionTypeMap from the User Contributed Perl Documentation. It's literally the storage locker where your option-to-type mappings live. She's a supporting character but she ATE, no cap. π
β¨ NAME β¨
MooseX::Getopt::OptionTypeMap β storage for the option to type mappings. That's it, that's the whole job, and she does it flawlessly. π
πΈ VERSION πΈ
version 0.78 β locked in, iconic, periodt.
π¦ DESCRIPTION π¦
So here's the tea, bestie: this module doesn't really do a big speech about itself. If you wanna know how to actually use it, you gotta go read the Custom Type Constraints section in the MooseX::Getopt docs. That's where the real lore lives. iykyk. πβ¨
π METHODS π
here's the whole squad, one by one, no skipping, we don't do that here:
has_option_type ($type_or_name)β checks whether there's an option type mapping for the type or name you hand it. vibe check for types, basically. βget_option_type ($type_or_name)β hands you back the option type for that type or name. the glow-up retrieval service. π«Άadd_option_type_to_map ($type_name, $option_spec)β adds a new entry to the map, pairing up a type name with an option spec. putting a new bestie in the group chat. π
π SUPPORT π
got a bug? don't suffer in silence, bestie, that's not the vibe. You can submit bugs through the RT bug tracker:
https://rt.cpan.org/Public/Dist/Display.html?Name=MooseX-Getopt
or you can email it straight to:
bug-MooseX-Getopt@rt.cpan.org
There's also a mailing list for users of this distribution, hanging out at:
http://lists.perl.org/list/moose.html
and there's an irc channel too, for users of this distribution, at #moose on irc.perl.org:
irc://irc.perl.org/#moose
come thru, the people there are lovely fr fr. π
β AUTHOR β
Stevan Little <stevan@iinteractive.com> β the main character who wrote this. bow down. πββοΈ
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2007 by Infinity Interactive, Inc. π
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself. slay, honestly. π
okay that's the whole page bestie, hope the vibe check passed. this was MooseX...TypeMap(3pm) from the User Contributed Perl Documentation, version 0.78, and the footer was hanging out with perl v5.40.0, dated 2025-01-11. mwah, ily, go write some beautiful option maps. π
β¨π¦πΈπ«Ά
π¦ where this page comes from
- debian trixie: libmoosex-getopt-perl 0.78-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libmoosex-getopt-perl 0.78-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libmoosex-getopt-perl 0.78-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms