1 package TestApp::Model::ClosuresInConfig;
3 use namespace::clean -except => 'meta';
5 extends 'TestApp::Model';
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..
11 __PACKAGE__->meta->make_immutable;