Catalyst::Plugin::ConfigLoader & Catalyst::Plugin::ConfigLoader::Multi
id:kopugさん
Catalyst::Plugin::ConfigLoaderの次のりりーすで、
[DEPRECATION NOTICE] - the "file" and "config_local_suffix" config keys are now to be explicitly set under the Plugin::ConfigLoader key. Support for these keys will be removed in the next release.
となっている。つまり以下のような変更が必要になる。
# old __PACKAGE__->config( { file => 'config.yaml' } ); # new __PACKAGE__->config( 'Plugin::ConfigLoader' => { file => 'config.yaml' } );
何で、
http://search.cpan.org/~masap/Catalyst-Plugin-ConfigLoader-Multi-0.02/
のドキュメント変更する必要がある気がした。あと、一応試した方が良い:-)
でも、'Plugin::ConfigLoader' 名前で設定することになるのかな?なんか、気持ち悪いね。
'Plugin::ConfigLoader::Multi' => {file=>'foo'}?