« blib/lib/Iterator/Flex/Role/Current/Closure.pm
↑ Summary
blib/lib/Iterator/Flex/Role/Exhaustion/ImportedThrow.pm »
| 1 | package Iterator::Flex::Role::Current::Method; | ||
| 2 | |||
| 3 | # ABSTRACT: Implement current as a method | ||
| 4 | |||
| 5 | 1 | ▶ | use v5.28; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | our $VERSION = '0.33'; | |
| 10 | |||
| 11 | 1 | ▶ | use Role::Tiny; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 12 | |||
| 13 | 1 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | |||
| 16 | |||
| 17 | |||
| 18 | |||
| 19 | |||
| 20 | |||
| 21 | |||
| 22 | |||
| 23 | |||
| 24 | |||
| 25 | 1 | requires 'current'; | |
| 26 | |||
| 27 | 1 | *__current__ = \¤t; | |
| 28 | |||
| 29 | 1 | 1; | |
| 30 | |||
| 31 | # | ||
| 32 | # This file is part of Iterator-Flex | ||
| 33 | # | ||
| 34 | # This software is Copyright (c) 2018 by Smithsonian Astrophysical Observatory. | ||
| 35 | # | ||
| 36 | # This is free software, licensed under: | ||
| 37 | # | ||
| 38 | # The GNU General Public License, Version 3, June 2007 | ||
| 39 | # | ||
| 40 | |||
| 41 | __END__ | ||