Class::MakeMethods::Docs::RelatedModules(3pm)

Class::MakeMethods::Docs::RelatedModules3pm

Survey of class builders

Usage

  http://search.cpan.org/search?mode=module&query=Class

Overview

There are a variety of modules on CPAN dedicated to the purpose of generating common constructor and accessor methods. Below, I survey several of these, summarizing some basic features and technical approaches, and comparing them to Class::MakeMethods and other modules.

Caution

Please note that these comments are for basic comparison purposes only and may be incorrect or out of date. Please consult the documentation from a current version of each module for more specific details. Corrections and clarifications would by welcomed by the author at the email address below.

Points of Comparison

In general, I compared the following characteristics:

Distribution

Is it included with Perl, or on CPAN? Is it being actively maintained?

Usage

How do you go about declaring your class's methods?

Mechanism

How are they generated and delivered?

Instance type

Are the objects of your class blessed hashes, or something else?

Core Methods

Does the module provide a constructor and basic accessors? Are there specialized methods for hash-ref, array-ref, and object-ref accessors?

Extensible

Can you subclass the package to create new types of methods, or is there some other way to extend it?

Other Methods

Other types of methods provided.

Emulator

Does Class::MakeMethods provide a drop-in replacement for this module?

Comments

Other characteristics or features of note.

To do

The following modules are relevant but have not yet been cataloged above.

Attribute::Property

Class::Accessor::Chained

Class::Accessor::Lvalue

Class::Accessor::Ref

Class::AutoClass

Class::Builder

Class::Member

Class::Trigger

Releases

10 releases since Debian 4.0 (Etch); the text changed 3 times.

  1. 4.0–5.0
  2. 6.0–8
  3. 9–11
  4. 12–13

From libclass-makemethods-perl 1.01-7 in Debian 13 (Trixie). Parsed by carta from the page's man source.