line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Hailo::Role::Arguments; |
2
|
|
|
|
|
|
|
our $AUTHORITY = 'cpan:AVAR'; |
3
|
|
|
|
|
|
|
$Hailo::Role::Arguments::VERSION = '0.75'; |
4
|
37
|
|
|
37
|
|
25554
|
use v5.10.0; |
|
37
|
|
|
|
|
147
|
|
5
|
37
|
|
|
37
|
|
234
|
use Moose::Role; |
|
37
|
|
|
|
|
80
|
|
|
37
|
|
|
|
|
365
|
|
6
|
37
|
|
|
37
|
|
202044
|
use MooseX::Types::Moose ':all'; |
|
37
|
|
|
|
|
213951
|
|
|
37
|
|
|
|
|
404
|
|
7
|
37
|
|
|
37
|
|
302437
|
use namespace::clean -except => 'meta'; |
|
37
|
|
|
|
|
99
|
|
|
37
|
|
|
|
|
342
|
|
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
has arguments => ( |
10
|
|
|
|
|
|
|
isa => HashRef[Str], |
11
|
|
|
|
|
|
|
is => 'ro', |
12
|
|
|
|
|
|
|
documentation => "Arguments passed from Hailo", |
13
|
|
|
|
|
|
|
auto_deref => 1, |
14
|
|
|
|
|
|
|
); |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
=encoding utf8 |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Hailo::Role::Arguments - A role which adds an 'arguments' attribute |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=head2 C<arguments> |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
A C<HashRef[Str]> of arguments passed to us from L<Hailo|Hailo>'s |
29
|
|
|
|
|
|
|
L<storage|Hailo/storage_args>, or |
30
|
|
|
|
|
|
|
L<tokenizer|Hailo/tokenizer_args> arguments. |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 AUTHOR |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason <avar@cpan.org> |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 LICENSE AND COPYRIGHT |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Copyright 2010 E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason. |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
This program is free software, you can redistribute it and/or modify |
41
|
|
|
|
|
|
|
it under the same terms as Perl itself. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
=cut |
44
|
|
|
|
|
|
|
|