blib/lib/Hailo/Role/Arguments.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod n/a totaltotal 100% 15 / 15 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« blib/lib/Hailo/Tokenizer/Chars.pm ↑ Summary blib/lib/Hailo/Role/Engine.pm »
1 package Hailo::Role::Arguments;
2 37 our $AUTHORITY = 'cpan:AVAR';
3 37 $Hailo::Role::Arguments::VERSION = '0.73';
4 37 ▶use v5.28.0;
Subroutine BEGIN: called CC=1 SCAR=0.0
5 37 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6 37 ▶use namespace::clean -except => 'meta';
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 37 has arguments => (
9 isa => 'HashRef[Str]',
10 is => 'ro',
11 documentation => "Arguments passed from Hailo",
12 auto_deref => 1,
13 );
14  
15 37 1;
16  
17 =encoding utf8
18  
19 =head1 NAME
20  
21 Hailo::Role::Arguments - A role which adds an 'arguments' attribute
22  
23 =head1 ATTRIBUTES
24  
25 =head2 C<arguments>
26  
27 A C<HashRef[Str]> of arguments passed to us from L<Hailo|Hailo>'s
28 L<storage|Hailo/storage_args>, or
29 L<tokenizer|Hailo/tokenizer_args> arguments.
30  
31 =head1 AUTHOR
32  
33 E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason <avar@cpan.org>
34  
35 =head1 LICENSE AND COPYRIGHT
36  
37 Copyright 2010 E<AElig>var ArnfjE<ouml>rE<eth> Bjarmason.
38  
39 This program is free software, you can redistribute it and/or modify
40 it under the same terms as Perl itself.
41  
42 =cut
43  
« blib/lib/Hailo/Tokenizer/Chars.pm ↑ Summary blib/lib/Hailo/Role/Engine.pm »