FormHandler/Meta/Role.pm

filter: Statementstmt 100% 16 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 6 / 6 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
__ANON__
1.0
__ANON__
1.0
CRAP 1.0
« FormHandler/I18N/en_us.pm ↑ Summary FormHandler/Page/Simple.pm »
1 package # hide from Pause
2 HTML::FormHandler::Meta::Role;
3 # ABSTRACT: field_list and apply_list
4  
5 148 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7  
8 has 'field_list' => (
9 traits => ['Array'],
10 is => 'rw',
11 isa => 'ArrayRef',
12 1398 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
13 148 handles => {
14 add_to_field_list => 'push',
15 clear_field_list => 'clear',
16 has_field_list => 'count',
17 }
18 );
19  
20 has 'apply_list' => (
21 traits => ['Array'],
22 is => 'rw',
23 isa => 'ArrayRef',
24 1398 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
25 148 handles => {
26 add_to_apply_list => 'push',
27 has_apply_list => 'count',
28 clear_apply_list => 'clear',
29 }
30 );
31  
32 has 'page_list' => (
33 traits => ['Array'],
34 is => 'rw',
35 isa => 'ArrayRef',
36 1398 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
37 148 handles => {
38 add_to_page_list => 'push',
39 has_page_list => 'count',
40 clear_page_list => 'clear',
41 }
42 );
43  
44 has 'block_list' => (
45 traits => ['Array'],
46 is => 'rw',
47 isa => 'ArrayRef',
48 1398 ▶ default => sub { [] },
Subroutine __ANON__: called CC=1 SCAR=0.0
49 148 handles => {
50 add_to_block_list => 'push',
51 has_block_list => 'count',
52 clear_block_list => 'clear',
53 }
54 );
55  
56 148 has 'found_hfh' => ( is => 'rw', default => '0' );
57  
58 148 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
59 148 1;
60  
61 __END__
62  
63 =pod
64  
65 =encoding UTF-8
66  
67 =head1 NAME
68  
69 HTML::FormHandler::Meta::Role - field_list and apply_list
70  
71 =head1 VERSION
72  
73 version 0.410000
74  
75 =head1 SYNOPSIS
76  
77 Add metaclass to field_list attribute
78  
79 =head1 AUTHOR
80  
81 FormHandler Contributors - see HTML::FormHandler
82  
83 =head1 COPYRIGHT AND LICENSE
84  
85 This software is copyright (c) 2017 by Gerda Shank.
86  
87 This is free software; you can redistribute it and/or modify it under
88 the same terms as the Perl 5 programming language system itself.
89  
90 =cut
« FormHandler/I18N/en_us.pm ↑ Summary FormHandler/Page/Simple.pm »