Hi,
that was the bit that was missing for me while chewing on the docs. I am
sometimes a bit slow on grasping these concepts. Anyway that was quite
helpful.
Thanks wolfgang
The main idea is that you can separate attributes into
groups, where each group has a similar set of behaviour required to
happen on get/set action. In OO terms, these are "attribute
metaclasses". Defining a group "foo" implies that the class will
implement a method "get_foo" and a method "set_foo", which will
encapsulate the group-specific behaviours. Each time a property in the
"foo" group is accessed, the "get_foo" method will be called with the
property name, and so on.
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[email protected]