| 1 | ## no critic: TestingAndDebugging::RequireUseStrict | ||
| 2 | package TableDataRole::Spec::GetRowByPos; | ||
| 3 | |||
| 4 | 1 | ▶ | use Role::Tiny; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 7 | 1 | our $DATE = '2023-11-25'; # DATE | |
| 8 | 1 | our $DIST = 'TableData'; # DIST | |
| 9 | 1 | our $VERSION = '0.2.6'; # VERSION | |
| 10 | |||
| 11 | ### mixins | ||
| 12 | |||
| 13 | 1 | with 'Role::TinyCommons::Collection::GetItemByPos'; | |
| 14 | |||
| 15 | ### requires | ||
| 16 | |||
| 17 | 1 | requires 'get_row_at_pos_hashref'; | |
| 18 | |||
| 19 | ### aliases, for convenience and clarity | ||
| 20 | |||
| 21 | 0 | ▶ | sub get_row_at_pos { |
|
Subroutine
get_row_at_pos: not called CC=1 SCAR=6.9
Pod
documented
| |||
| 22 | 0 | my $self = shift; | |
| 23 | 0 | $self->get_item_at_pos(@_); | |
| 24 | } | ||
| 25 | |||
| 26 | ### implementation | ||
| 27 | |||
| 28 | 1 | 1; | |
| 29 | # ABSTRACT: TableData::* that can access a row by position | ||
| 30 | |||
| 31 | __END__ | ||