| 1 | package Bot::ChatBots::Role::Processor; | ||
| 2 | 4 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 4 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 4 | { our $VERSION = '0.014'; } | |
| 5 | |||
| 6 | 4 | ▶ | use Moo::Role; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 7 | 4 | requires 'process'; | |
| 8 | |||
| 9 | 2 | ▶ | sub processor { |
|
Subroutine
processor: called CC=1 SCAR=0.0
Pod
documented
| |||
| 10 | 2 | my $self = shift; | |
| 11 | 2 | ▶ | return sub { return $self->process(@_) }; |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 12 | } | ||
| 13 | |||
| 14 | 4 | 1; | |