| 1 | package Algorithm::KernelKMeans; | ||||||||||
| 2 | |||||||||||
| 3 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | 2 | ▶ | use UNIVERSAL::require; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | 2 | our $VERSION = '0.03'; | |||||||||
| 8 | |||||||||||
| 9 | 2 | ▶ | BEGIN { | ||||||||
|
Subroutine
BEGIN: called CC=3 SCAR=11.0
| |||||||||||
| 10 | 2 | for my $impl (qw/XS PP/) { | |||||||||
| 11 | 4 | my $impl_class = __PACKAGE__ . '::' . $impl; | |||||||||
| 12 | 4 | ▶ | if ($impl_class->require) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 2 | our $IMPLEMENTATION = $impl; | |||||||||
| 14 | 2 | parent->use($impl_class); # be child of $impl_class | |||||||||
| 15 | 2 | last; | |||||||||
| 16 | } | ||||||||||
| 17 | } | ||||||||||
| 18 | } | ||||||||||
| 19 | |||||||||||
| 20 | 2 | 1; | |||||||||
| 21 | |||||||||||
| 22 | __END__ | ||||||||||