| 1 | package Transform::Alert::Input; | ||
| 2 | |||
| 3 | 7 | our $VERSION = '1.00'; # VERSION | |
| 4 | # ABSTRACT: Base role for Transform::Alert input types | ||
| 5 | |||
| 6 | 7 | ▶ | use sanity; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 7 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 7 | ▶ | use MooX::Types::MooseLike::Base qw(HashRef Object); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | |||
| 10 | 7 | requires qw(open opened get eof close); | |
| 11 | |||
| 12 | 7 | has group => ( | |
| 13 | is => 'rwp', | ||
| 14 | isa => Object, | ||
| 15 | weak_ref => 1, | ||
| 16 | handles => [ 'log' ], | ||
| 17 | ); | ||
| 18 | 7 | has connopts => ( | |
| 19 | is => 'ro', | ||
| 20 | isa => HashRef, | ||
| 21 | required => 1, | ||
| 22 | ); | ||
| 23 | |||
| 24 | 7 | 42; | |
| 25 | |||
| 26 | __END__ | ||