| 1 | package HTML::MobileJp::Filter::Role; | ||||||||||
| 2 | 3 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 3 | ▶ | use Moose::Role; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | |||||||||||
| 5 | has config => ( | ||||||||||
| 6 | is => 'rw', | ||||||||||
| 7 | isa => 'Maybe[HashRef]', | ||||||||||
| 8 | 6 | ▶ | default => sub { {} }, | ||||||||
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||||||||||
| 9 | 3 | ); | |||||||||
| 10 | |||||||||||
| 11 | 3 | has mobile_agent => ( | |||||||||
| 12 | is => 'rw', | ||||||||||
| 13 | isa => 'HTTP::MobileAgent', | ||||||||||
| 14 | ); | ||||||||||
| 15 | |||||||||||
| 16 | 3 | requires 'filter'; | |||||||||
| 17 | |||||||||||
| 18 | sub BUILD { | ||||||||||
| 19 | 5 | ▶ | my $self = shift; | ||||||||
|
Subroutine
BUILD: called CC=2 SCAR=7.0
Pod
undocumented
| |||||||||||
| 20 | |||||||||||
| 21 | $self->config({ | ||||||||||
| 22 | 5 | %{ $self->meta->get_attribute('config')->default->() }, | |||||||||
| 23 | 5 | ▶ | %{ $self->config || {} }, | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | }); | ||||||||||
| 25 | |||||||||||
| 26 | 5 | $self->init; | |||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | ▶ | sub init { } | |||||||||
|
Subroutine
init: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 30 | |||||||||||
| 31 | 3 | 1; | |||||||||