line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
405
|
|
|
405
|
|
225212
|
use strict; |
|
405
|
|
|
|
|
974
|
|
|
405
|
|
|
|
|
19843
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package HTML::FormFu::Exception; |
4
|
|
|
|
|
|
|
# ABSTRACT: Exception base class |
5
|
|
|
|
|
|
|
$HTML::FormFu::Exception::VERSION = '2.07'; |
6
|
405
|
|
|
405
|
|
2524
|
use Moose; |
|
405
|
|
|
|
|
801
|
|
|
405
|
|
|
|
|
2404
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
with 'HTML::FormFu::Role::Populate'; |
9
|
|
|
|
|
|
|
|
10
|
405
|
|
|
405
|
|
2827859
|
use HTML::FormFu::ObjectUtil qw( form parent ); |
|
405
|
|
|
|
|
1442
|
|
|
405
|
|
|
|
|
87461
|
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
sub BUILD { } |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
sub render_data { |
15
|
54
|
|
|
54
|
0
|
151
|
my $self = shift; |
16
|
|
|
|
|
|
|
|
17
|
54
|
50
|
|
|
|
449
|
my $render = $self->render_data_non_recursive( { @_ ? %{ $_[0] } : () } ); |
|
0
|
|
|
|
|
0
|
|
18
|
|
|
|
|
|
|
|
19
|
54
|
|
|
|
|
294
|
return $render; |
20
|
|
|
|
|
|
|
} |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
sub render_data_non_recursive { |
23
|
54
|
|
|
54
|
0
|
168
|
my ( $self, $args ) = @_; |
24
|
|
|
|
|
|
|
|
25
|
54
|
50
|
|
|
|
223
|
my %render = ( |
26
|
|
|
|
|
|
|
parent => $self->parent, |
27
|
|
|
|
|
|
|
form => $self->form, |
28
|
|
|
|
|
|
|
$args ? %$args : (), |
29
|
|
|
|
|
|
|
); |
30
|
|
|
|
|
|
|
|
31
|
54
|
|
|
|
|
233
|
return \%render; |
32
|
|
|
|
|
|
|
} |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
1; |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
__END__ |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=pod |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=encoding UTF-8 |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 NAME |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
HTML::FormFu::Exception - Exception base class |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
=head1 VERSION |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
version 2.07 |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 AUTHOR |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Carl Franks <cpan@fireartist.com> |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
This software is copyright (c) 2018 by Carl Franks. |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
61
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
62
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
=cut |