Class::MethodMaker::OptExt(3pm) | User Contributed Perl Documentation | Class::MethodMaker::OptExt(3pm) |
Class::MethodMaker::OptExt - Constants for C::MM's option extension mechanism
This class is internal to Class::MethodMaker and should not be used by any clients. It is not part of the public API.
This class contains the constants used by Class::MethodMaker to determine the names of its methods dependent upon options invoked.
OPTEXT is a map from options that are implemented as method extensions to the option parameters.
Parameter keys are:
Take a set of options, return a two-letter code being the extension to add to the method to incorporate the extensions, and a list (arrayref) of the extensions represented.
my ($ext, $opt) = Class::MethodMaker::OptExt->encode([qw( static type foobar )]);
Email the development mailing list "class-mmaker-devel@lists.sourceforge.net".
Martyn J. Pearce
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.
2022-10-19 | perl v5.36.0 |