MakeMe...:Evaled(3pm)

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

πŸ’– NAME πŸ’–

okay bestie, welcome to the MakeMe...:Evaled(3pm) manual β€” User Contributed Perl Documentation, no less πŸŽ€. Today's main character is Class::MakeMethods::Evaled β€” Make methods with simple string evals. that's the whole name, periodt.

✨ SYNOPSIS ✨

okay so here's the vibe check β€” this is literally how you summon it:

package MyObject;
use Class::MakeMethods::Evaled::Hash (
  new => 'new',
  scalar => [ 'foo', 'bar' ],
  array => 'my_list',
  hash => 'my_index',
);

🌸 DESCRIPTION 🌸

This doc is your tour of all the various subclasses of Class::MakeMethods that live under the Evaled::* namespace, plus the method types each one hands you 🫢.

The Evaled subclasses generate methods using a simple string templating mechanism and basic string evals. yes, it's giving old-school string magic, and honestly? iconic.

πŸ’… Calling Conventions πŸ’…

When you use this package, the method names you provide as arguments cause subroutines to be generated and installed in your module. lowkey that's the whole trigger, bestie πŸ’….

For the full tea, see "Calling Conventions" in Class::MakeMethods::Standard β€” it's got more information.

πŸŽ€ Declaration Syntax πŸŽ€

To declare methods, pass in pairs of a method-type name followed by one or more method names. pair them up, bestie β€” method type first, then the name(s), no cap πŸŽ€.

Valid method-type names for this package are listed in "METHOD GENERATOR TYPES". go check that list before you start guessing, okay?

See "Declaration Syntax" in Class::MakeMethods::Standard and "Parameter Syntax" in Class::MakeMethods::Standard for more information.

πŸ¦‹ About Evaled Methods πŸ¦‹

(the original page literally has this heading and then moves right along β€” no body text here, bestie 🫢)

🌈 SEE ALSO 🌈

See Class::MakeMethods for general information about this distribution.

For distribution, installation, support, copyright and license information, see Class::MakeMethods::Docs::ReadMe.


πŸ’– and that's the whole page! it's from perl v5.36.0, dated 2022-10-13, and it's the MakeMe...:Evaled(3pm) manual β€” mwah, slay, bye bestie! πŸ’–

πŸ“¦ where this page comes from