| line | stmt | bran | cond | sub | pod | time | code | 
| 1 |  |  |  |  |  |  | package IPC::PrettyPipe::Types; | 
| 2 |  |  |  |  |  |  |  | 
| 3 |  |  |  |  |  |  | # ABSTRACT: Types | 
| 4 |  |  |  |  |  |  |  | 
| 5 | 14 |  |  | 14 |  | 94 | use strict; | 
|  | 14 |  |  |  |  | 30 |  | 
|  | 14 |  |  |  |  | 413 |  | 
| 6 | 14 |  |  | 14 |  | 69 | use warnings; | 
|  | 14 |  |  |  |  | 28 |  | 
|  | 14 |  |  |  |  | 744 |  | 
| 7 |  |  |  |  |  |  |  | 
| 8 |  |  |  |  |  |  | our $VERSION = '0.12'; | 
| 9 |  |  |  |  |  |  |  | 
| 10 |  |  |  |  |  |  | use Type::Library | 
| 11 | 14 |  |  |  |  | 102 | -base, | 
| 12 |  |  |  |  |  |  | -declare => qw[ | 
| 13 |  |  |  |  |  |  | Arg | 
| 14 |  |  |  |  |  |  | AutoArrayRef | 
| 15 |  |  |  |  |  |  | Cmd | 
| 16 |  |  |  |  |  |  | Pipe | 
| 17 | 14 |  |  | 14 |  | 82 | ]; | 
|  | 14 |  |  |  |  | 26 |  | 
| 18 |  |  |  |  |  |  |  | 
| 19 | 14 |  |  | 14 |  | 16151 | use Type::Utils -all; | 
|  | 14 |  |  |  |  | 60063 |  | 
|  | 14 |  |  |  |  | 142 |  | 
| 20 | 14 |  |  | 14 |  | 42493 | use Types::Standard -types; | 
|  | 14 |  |  |  |  | 30 |  | 
|  | 14 |  |  |  |  | 73 |  | 
| 21 |  |  |  |  |  |  |  | 
| 22 | 14 |  |  | 14 |  | 56914 | use List::Util qw[ pairmap ]; | 
|  | 14 |  |  |  |  | 34 |  | 
|  | 14 |  |  |  |  | 2595 |  | 
| 23 |  |  |  |  |  |  |  | 
| 24 |  |  |  |  |  |  | declare AutoArrayRef, as ArrayRef; | 
| 25 |  |  |  |  |  |  | coerce AutoArrayRef, | 
| 26 |  |  |  |  |  |  | from Any, via { [$_] }; | 
| 27 |  |  |  |  |  |  |  | 
| 28 |  |  |  |  |  |  | class_type Pipe, { class => 'IPC::PrettyPipe' }; | 
| 29 |  |  |  |  |  |  | class_type Cmd, { class => 'IPC::PrettyPipe::Cmd' }; | 
| 30 |  |  |  |  |  |  | class_type Arg, { class => 'IPC::PrettyPipe::Arg' }; | 
| 31 |  |  |  |  |  |  |  | 
| 32 |  |  |  |  |  |  |  | 
| 33 |  |  |  |  |  |  | 1; | 
| 34 |  |  |  |  |  |  |  | 
| 35 |  |  |  |  |  |  | # | 
| 36 |  |  |  |  |  |  | # This file is part of IPC-PrettyPipe | 
| 37 |  |  |  |  |  |  | # | 
| 38 |  |  |  |  |  |  | # This software is Copyright (c) 2018 by Smithsonian Astrophysical Observatory. | 
| 39 |  |  |  |  |  |  | # | 
| 40 |  |  |  |  |  |  | # This is free software, licensed under: | 
| 41 |  |  |  |  |  |  | # | 
| 42 |  |  |  |  |  |  | #   The GNU General Public License, Version 3, June 2007 | 
| 43 |  |  |  |  |  |  | # | 
| 44 |  |  |  |  |  |  |  | 
| 45 |  |  |  |  |  |  | __END__ |