line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
405
|
|
|
405
|
|
212727
|
use strict; |
|
405
|
|
|
|
|
974
|
|
|
405
|
|
|
|
|
21740
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package HTML::FormFu::Role::HasParent; |
4
|
|
|
|
|
|
|
# ABSTRACT: HasParent role |
5
|
|
|
|
|
|
|
$HTML::FormFu::Role::HasParent::VERSION = '2.07'; |
6
|
405
|
|
|
405
|
|
2514
|
use Moose::Role; |
|
405
|
|
|
|
|
907
|
|
|
405
|
|
|
|
|
2787
|
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
sub BUILD { |
9
|
3727
|
|
|
3727
|
0
|
105862
|
my ( $self, $args ) = @_; |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
# Moose's new() only handles attributes - not methods |
12
|
|
|
|
|
|
|
|
13
|
3727
|
100
|
|
|
|
11270
|
if ( exists $args->{parent} ) { |
14
|
1876
|
|
|
|
|
13684
|
$self->parent( delete $args->{parent} ); |
15
|
|
|
|
|
|
|
} |
16
|
|
|
|
|
|
|
|
17
|
3727
|
|
|
|
|
8938
|
return; |
18
|
|
|
|
|
|
|
} |
19
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
1; |
21
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
__END__ |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
=pod |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
=encoding UTF-8 |
27
|
|
|
|
|
|
|
|
28
|
|
|
|
|
|
|
=head1 NAME |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
HTML::FormFu::Role::HasParent - HasParent role |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
=head1 VERSION |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
version 2.07 |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 AUTHOR |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
Carl Franks <cpan@fireartist.com> |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
This software is copyright (c) 2018 by Carl Franks. |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
45
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
=cut |