| 1 | package Catmandu::Fix::Bind::identity; | ||
| 2 | |||
| 3 | 2 | ▶ | use Catmandu::Sane; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | our $VERSION = '1.0201_02'; | |
| 6 | |||
| 7 | 2 | ▶ | use Moo; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 2 | ▶ | use namespace::clean; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 2 | with 'Catmandu::Fix::Bind'; | |
| 11 | |||
| 12 | 2 | 1; | |
| 13 | |||
| 14 | __END__ | ||
| 15 | |||
| 16 | =pod | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Catmandu::Fix::Bind::identity - a binder that doesn't influence computation | ||
| 21 | |||
| 22 | =head1 SYNOPSIS | ||
| 23 | |||
| 24 | do identity() | ||
| 25 | fix1() | ||
| 26 | fix2() | ||
| 27 | fix3() | ||
| 28 | . | ||
| 29 | . | ||
| 30 | . | ||
| 31 | fixN() | ||
| 32 | end | ||
| 33 | |||
| 34 | # will have the same (side)effects as | ||
| 35 | |||
| 36 | fix1() | ||
| 37 | fix2() | ||
| 38 | fix3() | ||
| 39 | . | ||
| 40 | . | ||
| 41 | . | ||
| 42 | fixN() | ||
| 43 | |||
| 44 | =head1 DESCRIPTION | ||
| 45 | |||
| 46 | The identity binder doesn't embody any computational strategy. It simply | ||
| 47 | applies the bound fix functions to its input without any modification. | ||
| 48 | |||
| 49 | =head1 SEE ALSO | ||
| 50 | |||
| 51 | L<Catmandu::Fix::Bind> | ||
| 52 | |||
| 53 | =cut | ||