| 1 | package Cron::Toolkit::Pattern::StepValue; | ||||||||||
| 2 | 2 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 3 | 2 | ▶ | use warnings; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 4 | 2 | ▶ | use parent 'Cron::Toolkit::Pattern'; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 5 | |||||||||||
| 6 | 23 | ▶ | sub type { | ||||||||
|
Subroutine
type: called CC=1 SCAR=0.0
Pod
undocumented
| |||||||||||
| 7 | 23 | return 'step_value'; | |||||||||
| 8 | } | ||||||||||
| 9 | |||||||||||
| 10 | 0 | ▶ | sub match { | ||||||||
|
Subroutine
match: not called CC=2 SCAR=17.9
Pod
undocumented
| |||||||||||
| 11 | 0 | my ($self, $value) = @_; | |||||||||
| 12 | 0 | ▶ | return $value == $self->value ? 1 : 0; | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | } | ||||||||||
| 14 | |||||||||||
| 15 | 2 | 1; | |||||||||