|
|
| Keep It Simple, Stupid | |
| PerlMonks |
DBIx::Class creating get_* and set_* methodsby Herkum (Parson) |
| on Feb 07, 2008 at 22:33 UTC ( [id://666868]=perlquestion: print w/replies, xml ) | Need Help?? |
|
Herkum has asked for the wisdom of the Perl Monks concerning the following question: I was looking to DBIx::Class to work with my database. The one thing I would like to change is the accessor/mutators that it auto generates. Instead of the typical,
I want to methods that begin with 'get_' or 'set_' (depending on their functionality).
Has anyone done anything for this for DBIx::Class? Update: I posted to the DBIx mailing list and here is a solution provided by 'Matt Trout' which is what I think I will go with...
Back to
Seekers of Perl Wisdom
|
|
|||||||||||||||||||||||||||||||||||||||||||