| 1 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 2 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Path::IsDev::HeuristicSet::FromConfig; | ||
| 5 | 2 | ▶ | BEGIN { |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 2 | $Path::IsDev::HeuristicSet::FromConfig::AUTHORITY = 'cpan:KENTNL'; | |
| 7 | } | ||
| 8 | { | ||
| 9 | 2 | $Path::IsDev::HeuristicSet::FromConfig::VERSION = '0.002000'; | |
| 10 | } | ||
| 11 | |||
| 12 | # ABSTRACT: A Custom Heuristic Set from a configuration file | ||
| 13 | |||
| 14 | |||
| 15 | |||
| 16 | 2 | ▶ | use Role::Tiny::With; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 17 | |||
| 18 | 2 | with 'Path::IsDev::Role::HeuristicSet::Simple'; | |
| 19 | |||
| 20 | 2 | require Path::IsDev::HeuristicSet::FromConfig::Loader; | |
| 21 | |||
| 22 | 2 | my $loader = Path::IsDev::HeuristicSet::FromConfig::Loader->new(); | |
| 23 | |||
| 24 | |||
| 25 | 1 | ▶ | sub heuristics { |
|
Subroutine
heuristics: called CC=1 SCAR=0.0
Pod
documented
| |||
| 26 | 1 | return @{ $loader->heuristics() }; | |
| 27 | } | ||
| 28 | |||
| 29 | |||
| 30 | 1 | ▶ | sub negative_heuristics { |
|
Subroutine
negative_heuristics: called CC=1 SCAR=0.0
Pod
documented
| |||
| 31 | 1 | return @{ $loader->negative_heuristics() }; | |
| 32 | } | ||
| 33 | |||
| 34 | 2 | 1; | |
| 35 | |||
| 36 | __END__ | ||