in reply to DBIx::Class and Moose
If you want Moose to take the lead, just ask the metaclass for the properties, and tell that to DBIx::Class:
my $meta = __PACKAGE__->meta; for my $attr ( $meta->get_all_attributes ) { print $attr->name, "\n"; } [download]