Re: Perl module that simplifies creation of packages?
- From: John Bokma <john@xxxxxxxxxxxxxxx>
- Date: 23 Aug 2006 00:04:20 GMT
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/
.
- References:
- Perl module that simplifies creation of packages?
- From: Ignoramus20689
- Re: Perl module that simplifies creation of packages?
- From: Big and Blue
- Perl module that simplifies creation of packages?
- Prev by Date: Re: Perl module that simplifies creation of packages?
- Next by Date: Re: Invalid signature errors, CPAN, gpg
- Previous by thread: Re: Perl module that simplifies creation of packages?
- Next by thread: Invalid signature errors, CPAN, gpg
- Index(es):
Relevant Pages
|