| 1 | 3 | ▶ | use 5.20.0; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 3 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 3 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | package DBIx::Class::Smooth::Lookup::DateTime::year; | ||
| 6 | |||
| 7 | # ABSTRACT: Short intro | ||
| 8 | 3 | our $AUTHORITY = 'cpan:CSSON'; # AUTHORITY | |
| 9 | 3 | our $VERSION = '0.0108'; | |
| 10 | |||
| 11 | 3 | ▶ | use parent 'DBIx::Class::Smooth::Lookup::DateTime::datepart'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | 3 | ▶ | use experimental qw/signatures postderef/; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 13 | |||
| 14 | 0 | ▶ | sub smooth__lookup__year($self, $column_name, $value, @rest) { |
|
Subroutine
smooth__lookup__year: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 15 | 0 | return $self->smooth__lookup__datepart($column_name, $value, ['year']); | |
| 16 | } | ||
| 17 | |||
| 18 | 3 | 1; | |
| 19 | |||
| 20 | __END__ | ||