| 1 | 404 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | |||||||||||
| 3 | package HTML::FormFu::Role::HasParent; | ||||||||||
| 4 | 404 | $HTML::FormFu::Role::HasParent::VERSION = '2.06'; | |||||||||
| 5 | 404 | ▶ | use Moose::Role; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 6 | |||||||||||
| 7 | sub BUILD { | ||||||||||
| 8 | 3715 | ▶ | my ( $self, $args ) = @_; | ||||||||
|
Subroutine
BUILD: called CC=2 SCAR=6.9
Pod
undocumented
| |||||||||||
| 9 | |||||||||||
| 10 | # Moose's new() only handles attributes - not methods | ||||||||||
| 11 | |||||||||||
| 12 | 3715 | ▶ | if ( exists $args->{parent} ) { | ||||||||
|
Branch: 1 branch
| |||||||||||
| 13 | 1868 | $self->parent( delete $args->{parent} ); | |||||||||
| 14 | } | ||||||||||
| 15 | |||||||||||
| 16 | 3715 | return; | |||||||||
| 17 | } | ||||||||||
| 18 | |||||||||||
| 19 | 404 | 1; | |||||||||
| 20 | |||||||||||
| 21 | __END__ | ||||||||||
| 22 | |||||||||||
| 23 | =pod | ||||||||||
| 24 | |||||||||||
| 25 | =encoding UTF-8 | ||||||||||
| 26 | |||||||||||
| 27 | =head1 NAME | ||||||||||
| 28 | |||||||||||
| 29 | HTML::FormFu::Role::HasParent | ||||||||||
| 30 | |||||||||||
| 31 | =head1 VERSION | ||||||||||
| 32 | |||||||||||
| 33 | version 2.06 | ||||||||||
| 34 | |||||||||||
| 35 | =head1 AUTHOR | ||||||||||
| 36 | |||||||||||
| 37 | Carl Franks <cpan@fireartist.com> | ||||||||||
| 38 | |||||||||||
| 39 | =head1 COPYRIGHT AND LICENSE | ||||||||||
| 40 | |||||||||||
| 41 | This software is copyright (c) 2018 by Carl Franks. | ||||||||||
| 42 | |||||||||||
| 43 | This is free software; you can redistribute it and/or modify it under | ||||||||||
| 44 | the same terms as the Perl 5 programming language system itself. | ||||||||||
| 45 | |||||||||||
| 46 | =cut | ||||||||||