1MakeMethods::Evaled(3)User Contributed Perl DocumentationMakeMethods::Evaled(3)
2
3
4

NAME

6       Class::MakeMethods::Evaled - Make methods with simple string evals
7

SYNOPSIS

9         package MyObject;
10         use Class::MakeMethods::Evaled::Hash (
11           new => 'new',
12           scalar => [ 'foo', 'bar' ],
13           array => 'my_list',
14           hash => 'my_index',
15         );
16

DESCRIPTION

18       This document describes the various subclasses of Class::MakeMethods
19       included under the Evaled::* namespace, and the method types each one
20       provides.
21
22       The Evaled subclasses generate methods using a simple string templating
23       mechanism and basic string evals.
24
25   Calling Conventions
26       When you "use" this package, the method names you provide as arguments
27       cause subroutines to be generated and installed in your module.
28
29       See "Calling Conventions" in Class::MakeMethods::Standard for more
30       information.
31
32   Declaration Syntax
33       To declare methods, pass in pairs of a method-type name followed by one
34       or more method names.
35
36       Valid method-type names for this package are listed in "METHOD
37       GENERATOR TYPES".
38
39       See "Declaration Syntax" in Class::MakeMethods::Standard and "Parameter
40       Syntax" in Class::MakeMethods::Standard for more information.
41
42   About Evaled Methods

SEE ALSO

44       See Class::MakeMethods for general information about this distribution.
45
46       For distribution, installation, support, copyright and license
47       information, see Class::MakeMethods::Docs::ReadMe.
48
49
50
51perl v5.36.0                      2022-07-22            MakeMethods::Evaled(3)
Impressum