Re: Perl module that simplifies creation of packages?



Big and Blue <No_4@xxxxxxxxxxxxx> wrote:

Ignoramus20689 wrote:

I recall that there is a perl module that simplifies creation of
packages with nice accessors. Like, I could use that module and do
just a few things so that my class would have great get and set
functions, etc, without doing much. I have no recollection of its
name, maybe something::Object or some such.

You could write a class that doesn't *need* accessors but defines
method
into which you pass data to get things done, so that your class is
self-contained rather than exporting values.

One could.

Anyway, to the OP:

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

Sounds like "Class::Accessor", which lists under "See Also":

Class::Accessor::Fast

These are some modules which do similar things in different ways
Class::Struct, Class::Methodmaker, Class::Generate, Class::Class,
Class::Contract

HTH,
--
John Experienced Perl programmer: http://castleamber.com/

Perl help, tutorials, and examples: http://johnbokma.com/perl/
.



Relevant Pages

  • Perl module that simplifies creation of packages?
    ... I recall that there is a perl module that simplifies creation of ... packages with nice accessors. ...
    (comp.lang.perl.modules)
  • Re: Perl module
    ... Is there a package to install Gnome2::Print perl module? ... cpan2rpm generates RPM packages from Perl modules. ... required SPEC files and builds the packages using rpm. ...
    (Fedora)
  • Re: Perl module
    ... Is there a package to install Gnome2::Print perl module? ... cpan2rpm generates RPM packages from Perl modules. ... required SPEC files and builds the packages using rpm. ...
    (Fedora)
  • Re: Perl module
    ... > Is there a package to install Gnome2::Print perl module? ... cpan2rpm generates RPM packages from Perl modules. ... required SPEC files and builds the packages using rpm. ...
    (Fedora)
  • Re: Perl module that simplifies creation of packages?
    ... packages with nice accessors. ... recommended by his book, Perl Best Practices. ... Paul Lalli ...
    (comp.lang.perl.modules)