logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Class::MakeMethods::Docs::RelatedModules - Survey of Class Builders

Description

       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.

   CautionPleasenotethatthesecommentsareforbasiccomparisonpurposesonlyandmaybeincorrectoroutofdate. 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.

   PointsofComparison
       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.

Name

       Class::MakeMethods::Docs::RelatedModules - Survey of Class Builders

See Also

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

Synopsis

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

To Do

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

   Attribute::PropertyClass::Accessor::ChainedClass::Accessor::LvalueClass::Accessor::RefClass::AutoClassClass::BuilderClass::MemberClass::Trigger

See Also