| 1 | package Punk::Headers; | ||
| 2 | |||
| 3 | 1 | ▶ | use 5.010; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 1 | ▶ | use Punk (); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | |||
| 8 | 1 | our $VERSION = '0.70'; | |
| 9 | |||
| 10 | 1 | ▶ | sub _chain { |
|
Subroutine
_chain: called CC=1 SCAR=0.0
| |||
| 11 | 1 | my ($future, $pairs) = @_; | |
| 12 | 1 | ▶ | return $future->then(sub { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 13 | 1 | my ($resp) = @_; | |
| 14 | 1 | _decorate($resp, $pairs); # a plain return settles the chain | |
| 15 | 1 | return $resp; | |
| 16 | 1 | }); | |
| 17 | } | ||
| 18 | |||
| 19 | 1 | 1; | |
| 20 | |||
| 21 | __END__ | ||