Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re^3: Class::Accessor and Damian's PBPby nothingmuch (Priest) |
on Feb 24, 2006 at 00:11 UTC ( [id://532428]=note: print w/replies, xml ) | 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.
-nuffin zz zZ Z Z #!perl
In Section
Seekers of Perl Wisdom
|
|