MakeMe...:mcoder(3pm)
π NAME π
okay so this is the MakeMe...:mcoder(3pm) page, and we're talking about Class::MakeMethods::Emulator::mcoder β it exists to emulate the mcoder module. periodt. π
β¨ SYNOPSIS β¨
bestie, here's the whole vibe:
package MyClass;
use Class::MakeMethods::Emulator::mcoder
[qw(get set)] => [qw(color sound height)],
proxy => [qw(runner run walk stop)],
calculated => weight;
sub _calculate_weight { shift->ask_weight }
πΈ DESCRIPTION πΈ
So like, this module emulates the functionality of the mcoder module, using Class::MakeMethods to generate similar methods. no cap. π«Ά
For example, the following lines are equivalent:
use mcoder 'get' => 'foo';
use mcoder::get 'foo';
use Class::MakeMethods::Template::Hash 'scalar --get' => 'foo';
You may use this module directly, as shown in the SYNOPSIS above, or you may call use Class::MakeMethods::Emulator::mcoder '-take_namespace'; to alias the mcoder namespace to this package, and subsequent calls to the original package will be transparently handled by this emulator. β¨
To remove the emulation aliasing, call use Class::MakeMethods::Emulator::mcoder '-release_namespace'. The same mechanism is also available for the "sugar" subclasses. π
β οΈ Caution: This affects all subsequent uses of the mcoder module in your program, including those in other modules, and might cause unexpected effects. Like, all of them. Be careful bestie. π
π¦ SEE ALSO π¦
- See
Class::MakeMethodsfor general information about this distribution. π - See
Class::MakeMethods::Emulatorfor more about this family of subclasses. π - See
mcoderfor documentation of the original module. π
and that's the tea π this page popped off in the MakeMe...:mcoder(3pm) manual, courtesy of the User Contributed Perl Documentation squad, running perl v5.36.0 and dated 2022-10-13 β bye bestie, go generate some methods πβ¨
π¦ where this page comes from
- ubuntu noble: libclass-makemethods-perl 1.01-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libclass-makemethods-perl 1.01-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libclass-makemethods-perl 1.01-7 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms