in reply to Re: Class::Accessor and Damian's PBP
in thread Class::Accessor and Damian's PBP
If you have so many accessible properties that you need to generate accessors for them, you may need to re-think your design.
I'm working on a configuration module, so accessors and data are the primary purpose of the module. You can see some background in Configuration Best Practices for Web Apps.
Even if you don't have many, though, I would argue the good kind of Laziness should drive you to use tools to avoid cut and paste. Even with just a few accessors, the code often ends up being largely cut and pasted, so using a module to automate the process is still a nice idea.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Class::Accessor and Damian's PBP
by Roy Johnson (Monsignor) on Feb 23, 2006 at 19:54 UTC | |
by cbrandtbuffalo (Deacon) on Feb 23, 2006 at 21:24 UTC |
In Section
Seekers of Perl Wisdom