MakeMe...weight(3pm)
π MakeMe...weight(3pm) π
β¨ NAME β¨
Okay bestie, this page is about Class::MakeMethods::Template::Flyweight β Deprecated name for InsideOut. Thatβs the whole name vibe, no cap. π
πΈ SYNOPSIS πΈ
Hereβs the code moment, exactly as it appears:
package MyObject;
use Class::MakeMethods::Template::InsideOut (
new => [ 'new' ]
scalar => [ 'foo', 'bar' ]
);
package main;
my $obj = MyObject->new( foo => "Foozle", bar => "Bozzle" );
print $obj->foo(); # Prints Foozle
$obj->bar("Bamboozle"); # Sets $obj->{bar}
π DESCRIPTION π
So earlier versions of this package included a package named Class::MakeMethods::Template::Flyweight. πΈ
But in hindsight, this name was poorly chosen, because it suggests that the Flyweight object design pattern is being used, when the functionality is more akin to whatβs sometimes known as βinside-out objects.β Itβs giving βthe name ate, but maybe not in the right way,β ngl. π
This functionality is now provided by Class::MakeMethods::Template::InsideOut, of which this is an almost-empty subclass retained to provide backwards compatibility. We love a tiny legacy icon keeping things working, fr fr. π«Ά
π¦ SEE ALSO π¦
Class::MakeMethods::Template::InsideOut. Go peek, bestie β thatβs the main character now. πβ¨
π«Ά Thatβs the whole page, bestie. This one comes fromperl v5.36.0, dated2022-10-13, and itβs filed underMakeMe...weight(3pm). Stay iconic! ππ
π¦ 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