in reply to DBIx::Class creating get_* and set_* methods
DBIx::Class offers also the set_column and get_column accessors:
Update
It must be specified that they don't have exactly the same semantics of the generated accessors (see the jrockway's reply and the DBIx::Class docs.)
Cheers,
Emanuele.
It's not exactly what you were asking for, but just in case you feel more comfortable with the get/set prefixes anyway ;-)$person->set_column('name', 'John'); $name = $person->get_column('name');
Update
It must be specified that they don't have exactly the same semantics of the generated accessors (see the jrockway's reply and the DBIx::Class docs.)
Cheers,
Emanuele.
In Section
Seekers of Perl Wisdom