| 1 | package Tangerine::Hook; | ||
| 2 | 16 | $Tangerine::Hook::VERSION = '0.23'; | |
| 3 | 16 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 16 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 16 | ▶ | use Tangerine::Utils qw/accessor/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 212 | ▶ | sub new { |
|
Subroutine
new: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 8 | 212 | my $class = shift; | |
| 9 | 212 | my %args = @_; | |
| 10 | bless { | ||
| 11 | _type => $args{type}, | ||
| 12 | 212 | }, $class | |
| 13 | } | ||
| 14 | |||
| 15 | 1178 | ▶ | sub type { accessor _type => @_ } |
|
Subroutine
type: called CC=1 SCAR=0.0
Pod
documented
| |||
| 16 | |||
| 17 | 0 | ▶ | sub run { |
|
Subroutine
run: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 18 | 0 | warn "Hook run() method not implemented." | |
| 19 | } | ||
| 20 | |||
| 21 | 16 | 1; | |
| 22 | |||
| 23 | __END__ | ||