| 1 | package Role::TinyCommons::Collection::GetItemByPos; | ||
| 2 | |||
| 3 | 1 | ▶ | use Role::Tiny; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 1 | our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY | |
| 6 | 1 | our $DATE = '2024-01-16'; # DATE | |
| 7 | 1 | our $DIST = 'Role-TinyCommons-Collection'; # DIST | |
| 8 | 1 | our $VERSION = '0.010'; # VERSION | |
| 9 | |||
| 10 | ### required methods | ||
| 11 | |||
| 12 | 1 | requires 'get_item_at_pos'; | |
| 13 | 1 | requires 'has_item_at_pos'; | |
| 14 | |||
| 15 | 1 | 1; | |
| 16 | # ABSTRACT: Locating an item by an integer position | ||
| 17 | |||
| 18 | __END__ | ||