package MyDB::Foo; use base MyDB; __PACKAGE__->table('foo'); __PACKAGE__->columns( ALL => ('foo_id','name','uri') ); 1;