Commit | Line | Data |
aa7921c5 |
1 | use CatalystX::Declare; |
2 | |
3 | # specified roles (or rather: plugins) will be passed to ->setup(). |
4 | application MyApp::Web |
5 | with ConfigLoader |
6 | with Static::Simple { |
7 | |
8 | # the $CLASS variable is automatically provided via CLASS.pm |
9 | $CLASS->config(name => 'MyApp-Web'); |
10 | } |