Class::...:OptExt(3)
π NAME π
okay so this is the Class::...:OptExt(3) page from User Contributed Perl Documentation, and the class here is Class::MethodMaker::OptExt β literally the Constants for C::MM's option extension mechanism. π
β¨ SYNOPSIS β¨
bestie, vibe check: this class is internal to Class::MethodMaker and should not be used by any clients. It is not part of the public API. π«Ά
πΈ DESCRIPTION πΈ
This class contains the constants that Class::MethodMaker uses to determine the names of its methods, depending on which options are invoked. iykyk periodt β¨
π CLASS CONSTANTS π
π OPTEXT π
OPTEXT is a map from options that are implemented as method extensions to the option parameters. πΊοΈ
Parameter keys are:
encodeβ code number (to allow the option combination to be encoded whilst keeping the length of the subr name no more than 8 chars).encodeis required for all opts (for determining method extension), and must be a power of two. π₯referβ Code for referring to storage (default:'$_[0]->{$name}'). πΎdeclβ Code for declaring storage. π¦postacβ Code to execute immediately after any assignment check β for example, to initialize storage if necessary. π οΈasgnchkβ Code for checking assignments. βdefchkβ Code for default checking. πresetβ Code to execute when resetting an element. πreadβ Code to execute each time a value is read. πstoreβ Code to execute each time a value is stored. π₯
π CLASS COMPONENTS π
literally nothing is listed here in the original, bestie β empty section, no cap. π«₯
π¦ CLASS HIGHER-LEVEL FUNCTIONS π¦
π encode π
Take a set of options, and return a two-letter code β that's the extension to add to the method to incorporate the extensions β plus a list (arrayref) of the extensions represented. πͺ
π SYNOPSIS π
my ($ext, $opt) =
Class::MethodMaker::OptExt->encode([qw( static type foobar )]);
π ARGUMENTS π
- options β The options to encode, as an arrayref of option names. π§Ύ
π RETURNS π
- ext β A code (string) to append to a methodname to represent the options used. π·οΈ
- opts β The options represented by the
ext. This is generally a subset of those provided inoptions, because not all general options are handled by an encoded methodname. π―
π§ CLASS HIGHER-LEVEL PROCEDURES π§
nothing here in the original β empty section energy π«§
πΈ INSTANCE CONSTRUCTION πΈ
nothing here in the original β empty section energy π«§
π INSTANCE COMPONENTS π
nothing here in the original β empty section energy π«§
π INSTANCE HIGHER-LEVEL FUNCTIONS π
nothing here in the original β empty section energy π«§
π INSTANCE HIGHER-LEVEL PROCEDURES π
nothing here in the original β empty section energy π«§
π EXAMPLES π
no examples are listed in the original β tragic, honestly π
π BUGS π
no bugs are listed in this section in the original β suspicious but we move π
π REPORTING BUGS π
Email the development mailing list "class-mmaker-devel@lists.sourceforge.net". π§
π AUTHOR π
Martyn J. Pearce. π
π COPYRIGHT π
Copyright (c) 2003 Martyn J. Pearce. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. π
π SEE ALSO π
the original SEE ALSO section has no references β it's giving empty, bestie πΈ
mwah π
this page is brought to you by source/version perl v5.42.0, dated 2025-07-25, and titled Class::...:OptExt(3) β bye bestie, go slay some Perl π«Ά
π¦ where this page comes from
- fedora 43: perl-Class-MethodMaker 2.25-4.fc43 Β· 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