| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Footprintless::Plugin; | ||
| 5 | 1 | $Footprintless::Plugin::VERSION = '1.29'; | |
| 6 | # ABSTRACT: The base class for footprintless plugins | ||
| 7 | # PODNAME: Footprintless::Plugin | ||
| 8 | |||
| 9 | 2 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
documented
| |||
| 10 | 2 | my ( $class, $config, @rest ) = @_; | |
| 11 | 2 | return bless( { config => $config }, $class )->_init(@rest); | |
| 12 | } | ||
| 13 | |||
| 14 | 1 | ▶ | sub command_packages { |
|
Subroutine
command_packages: called CC=1 SCAR=0.0
Pod
documented
| |||
| 15 | 1 | my ($self) = @_; | |
| 16 | 1 | return ( ref($self) . "::Command" ); | |
| 17 | } | ||
| 18 | |||
| 19 | 2 | ▶ | sub _init { |
|
Subroutine
_init: called CC=1 SCAR=0.0
| |||
| 20 | 2 | return $_[0]; | |
| 21 | } | ||
| 22 | |||
| 23 | 0 | ▶ | sub factory_methods { |
|
Subroutine
factory_methods: not called CC=1 SCAR=0.0
Pod
documented
| |||
| 24 | |||
| 25 | # return a map of factory methods by name | ||
| 26 | } | ||
| 27 | |||
| 28 | 1 | 1; | |
| 29 | |||
| 30 | __END__ | ||