Re: Perl module that simplifies creation of packages?



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.

Take a look at Damian Conway's Class::Std module on the CPAN. It does
a lot of this work for you, and creates the Inside-Out classes
recommended by his book, Perl Best Practices.

Paul Lalli

.



Relevant Pages