| 1 | 10 | ▶ | use v5.36; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | |||
| 3 | package DBIx::Squirrel::Stages::Flow; | ||
| 4 | |||
| 5 | 10 | ▶ | use Exporter qw(import); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 10 | ▶ | use Ekorn::Pipeline::Stages::Flow qw( |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | take drop take_first take_last take_single | ||
| 9 | 10 | take_while drop_while take_if drop_if); | |
| 10 | |||
| 11 | # A facade over Ekorn::Pipeline::Stages::Flow, exporting DBIx::Squirrel's | ||
| 12 | # own list of its functions, imported from it by name, so a name | ||
| 13 | # Ekorn::Pipeline drops fails here, as the module loads, and one it | ||
| 14 | # adds isn't exported until it's listed here. | ||
| 15 | 10 | our @EXPORT = qw(take drop); ## no critic (Modules::ProhibitAutomaticExportation) | |
| 16 | 10 | our @EXPORT_OK = ( | |
| 17 | @EXPORT, | ||
| 18 | qw(take_first take_last take_single take_while drop_while take_if drop_if), | ||
| 19 | ); | ||
| 20 | 10 | our %EXPORT_TAGS = (all => \@EXPORT_OK); | |
| 21 | |||
| 22 | 10 | 1; | |
| 23 | __END__ | ||