MakeMe...weight(3pm)

πŸ“¦
version 1.01 Β· 5 versions
, in ubuntu noble, ubuntu resolute, ubuntu stonking

πŸŽ€ 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 from perl v5.36.0, dated 2022-10-13, and it’s filed under MakeMe...weight(3pm). Stay iconic! πŸ’œπŸŒˆ
πŸ“¦ where this page comes from