| 1 | package WWW::Ohloh::API::Role::LoadXML; | ||||||||||
| 2 | 38 | our $AUTHORITY = 'cpan:YANICK'; | |||||||||
| 3 | 38 | $WWW::Ohloh::API::Role::LoadXML::VERSION = '1.0.2'; | |||||||||
| 4 | 38 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 38 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 38 | ▶ | use Object::InsideOut; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 8 | |||||||||||
| 9 | 17 | my %init_args : InitArgs = ( 'xml' => '', ); | |||||||||
| 10 | |||||||||||
| 11 | 17 | ▶ | sub _init : Init { | ||||||||
|
Subroutine
_init: called CC=2 SCAR=7.2
| |||||||||||
| 12 | 38 | my ( $self, $args ) = @_; | |||||||||
| 13 | |||||||||||
| 14 | 38 | ▶ | $self->load_xml( $args->{xml} ) if $args->{xml}; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 15 | 38 | ▶ | } | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 16 | |||||||||||
| 17 | 17 | 1; | |||||||||
| 18 | |||||||||||
| 19 | __END__ | ||||||||||