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