| 1 | package Open::API::Install::Files; | ||||||||||
| 2 | |||||||||||
| 3 | 1 | $self = { | |||||||||
| 4 | 'deps' => [ | ||||||||||
| 5 | 'Fetch', | ||||||||||
| 6 | 'File::Raw', | ||||||||||
| 7 | 'File::Raw::JSON', | ||||||||||
| 8 | 'JSON::Schema::Fast', | ||||||||||
| 9 | 'Tie::OrderedHash' | ||||||||||
| 10 | ], | ||||||||||
| 11 | 'inc' => '', | ||||||||||
| 12 | 'libs' => '', | ||||||||||
| 13 | 'typemaps' => [] | ||||||||||
| 14 | }; | ||||||||||
| 15 | |||||||||||
| 16 | 1 | @deps = @{ $self->{deps} }; | |||||||||
| 17 | 1 | @typemaps = @{ $self->{typemaps} }; | |||||||||
| 18 | 1 | $libs = $self->{libs}; | |||||||||
| 19 | 1 | $inc = $self->{inc}; | |||||||||
| 20 | |||||||||||
| 21 | 1 | $CORE = undef; | |||||||||
| 22 | 1 | foreach (@INC) { | |||||||||
| 23 | 1 | ▶ | if ( -f $_ . "/Open/API/Install/Files.pm") { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 24 | 1 | $CORE = $_ . "/Open/API/Install/"; | |||||||||
| 25 | 1 | last; | |||||||||
| 26 | } | ||||||||||
| 27 | } | ||||||||||
| 28 | |||||||||||
| 29 | 1 | ▶ | sub deps { @{ $self->{deps} }; } | ||||||||
|
Subroutine
deps: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 30 | |||||||||||
| 31 | sub Inline { | ||||||||||
| 32 | 0 | ▶ | my ($class, $lang) = @_; | ||||||||
|
Subroutine
Inline: not called CC=1 SCAR=6.9
Pod
undocumented
| |||||||||||
| 33 | 0 | +{ map { (uc($_) => $self->{$_}) } qw(inc libs typemaps) }; | |||||||||
| 34 | } | ||||||||||
| 35 | |||||||||||
| 36 | 1 | 1; | |||||||||