| 1 | package Kelp::Module::Config::Less; | ||
| 2 | 2 | ▶ | use Kelp::Base 'Kelp::Module::Config'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | # Kelp::Less applications start with no modules or middleware, but it surely | ||
| 5 | # can be used for normal applications as well. | ||
| 6 | 2 | ▶ | attr data => sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 7 | 2 | my $self = shift; | |
| 8 | 2 | my $hash = $self->SUPER::data(); | |
| 9 | |||
| 10 | 2 | $hash->{modules} = []; | |
| 11 | 2 | $hash->{middleware} = []; | |
| 12 | |||
| 13 | 2 | return $hash; | |
| 14 | 2 | }; | |
| 15 | |||
| 16 | 2 | 1; | |
| 17 | |||
| 18 | __END__ | ||