[Catalyst] [YAML] 便利。 [Model](lib/MyApp/Model/MyAppDB.pm)の以下削除 __PACKAGE__->config( schema_class => 'MyAppDB', connect_info => [ 'dbi:mysql:DBNAME:192.168.0.1:3306', 'ID', 'PW', ], ); [myapp.yml]に以下追加 Model::MyAppDB: schema_class: MyAppDB connect_info: - dbi:mysql:DBNAME:192.168.0.1:3306 - ID - PW ex)http://search.cpan.org/~bricas/Catalyst-Plugin-ConfigLoader-0.14