| 1 | package Gears::Component; | ||||||||||
| 2 | 1 | $Gears::Component::VERSION = '0.105'; | |||||||||
| 3 | 1 | ▶ | use v5.40; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 1 | ▶ | use Mooish::Base -standard; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 1 | has param 'app' => ( | |||||||||
| 7 | isa => InstanceOf ['Gears::App'], | ||||||||||
| 8 | weak_ref => 1, | ||||||||||
| 9 | ); | ||||||||||
| 10 | |||||||||||
| 11 | 4 | ▶ | sub BUILD ($self, $) | ||||||||
|
Subroutine
BUILD: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 12 | { | ||||||||||
| 13 | 4 | $self->configure; | |||||||||
| 14 | 4 | my $class = ref $self; | |||||||||
| 15 | |||||||||||
| 16 | # make sure superclass build method won't be called (avoid building the | ||||||||||
| 17 | # same elements twice) | ||||||||||
| 18 | 4 | ▶ | if (exists &{"${class}::build"}) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 19 | 2 | $self->build; | |||||||||
| 20 | } | ||||||||||
| 21 | } | ||||||||||
| 22 | |||||||||||
| 23 | sub configure ($self) | ||||||||||
| 24 | { | ||||||||||
| 25 | } | ||||||||||
| 26 | |||||||||||
| 27 | sub build ($self) | ||||||||||
| 28 | { | ||||||||||
| 29 | } | ||||||||||
| 30 | |||||||||||
| 31 | __END__ | ||||||||||