Make methods with simple string evals
package MyObject; use Class::MakeMethods::Evaled::Hash ( new => 'new', scalar => [ 'foo', 'bar' ], array => 'my_list', hash => 'my_index', );
This document describes the various subclasses of Class::MakeMethods included under the Evaled::* namespace, and the method types each one provides.
The Evaled subclasses generate methods using a simple string templating mechanism and basic string evals.
When you \*(C`use\*(C' this package, the method names you provide as arguments cause subroutines to be generated and installed in your module.
See \*(L"Calling Conventions\*(R" in Class::MakeMethods::Standard for more information.
To declare methods, pass in pairs of a method-type name followed by one or more method names.
Valid method-type names for this package are listed in \*(L"\s-1METHOD\s0 \s-1GENERATOR\s0 \s-1TYPES\s0\*(R".
See \*(L"Declaration Syntax\*(R" in Class::MakeMethods::Standard and \*(L"Parameter Syntax\*(R" in Class::MakeMethods::Standard for more information.
See Class::MakeMethods for general information about this distribution.
For distribution, installation, support, copyright and license information, see Class::MakeMethods::Docs::ReadMe.