in reply to Moose, SQL and initialization via Moose::Meta::Attribute
i would like the other attributes (BCCH,NAME) to be initialized with values from the mysql database. This is currently the purpose of the default functions set_name and set_bcch.Well, I cant comment on a meta-approach, but in order that those attributes be retrieved once and then cached, you should use lazy_build as shown here
I like that SQLConnection role - sweet!
|
|---|