|Think about Loose Coupling|
Re^3: Class::Accessor and Damian's PBPby nothingmuch (Priest)
|on Feb 24, 2006 at 00:11 UTC||Need Help??|
Class::DBI has a way to make this interface for your persistent objects:
That's what you meant, right?
Look for mutator_name and accessor_name - this is under http://search.cpan.org/~tmtm/Class-DBI-v3.0.14/lib/Class/DBI.pm#Changing_Your_Column_Accessor_Method_Names.
Specifically, look at
And copy over the implementation of the code that uses mutator_name to create write only accessors and readonly accessors.
zz zZ Z Z #!perl