Commit | Line | Data |
---|---|---|
ffc0b0d8 | 1 | package TestAppContainer; |
15df3510 | 2 | use Moose; |
ffc0b0d8 | 3 | use Catalyst; |
15df3510 | 4 | extends 'Catalyst'; |
ffc0b0d8 | 5 | |
6 | our $VERSION = '0.01'; | |
7 | ||
15df3510 | 8 | __PACKAGE__->config(applevel_config => 'foo'); |
9 | ||
ffc0b0d8 | 10 | __PACKAGE__->setup; |
11 | ||
12 | sub finalize_config { | |
13 | my $c = shift; | |
14 | $c->config( foo => 'bar' ); | |
15 | $c->next::method( @_ ); | |
16 | } | |
17 | ||
18 | 1; |