Commit | Line | Data |
---|---|---|
b99e1171 | 1 | package TestApp::Model::ClosuresInConfig; |
2 | use Moose; | |
3 | use namespace::clean -except => 'meta'; | |
4 | ||
5 | extends 'TestApp::Model'; | |
6 | ||
7 | # Note - don't call ->config in here until the constructor calls it to | |
8 | # retrieve config, so that we get the 'copy from parent' path, | |
9 | # and ergo break due to the closure if dclone is used there.. | |
10 | ||
11 | __PACKAGE__->meta->make_immutable; | |
12 |