package MyDictionary::Schema; use base 'DBIx::Class::Schema'; __PACKAGE__->load_classes('Engword','Skword','En_To_Sk','En_Phrase','En_Irregular'); 1; and like this look other 5 tables: package MyDictionary::Schema::Skword; use base 'DBIx::Class::Core'; __PACKAGE__->table('skwordmeaning'); __PACKAGE__->add_columns( sk_id => { data_type => 'integer', is_auto_increment => 1, }, skword => { data_type => 'text', }, ); __PACKAGE__->set_primary_key('sk_id'); __PACKAGE__->has_many(en_to_sk => 'MyDictionary::Schema::En_To_Sk', 'sk_id'); __PACKAGE__->many_to_many(engwords => 'en_to_sk','engword' ); 1;