| 1 | 457 | ▶ | use strict; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 2 | |||||||||||
| 3 | package HTML::FormFu::Exception; | ||||||||||
| 4 | # ABSTRACT: Exception base class | ||||||||||
| 5 | 457 | $HTML::FormFu::Exception::VERSION = '2.09'; | |||||||||
| 6 | 457 | ▶ | use Moose; | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 7 | |||||||||||
| 8 | 457 | with 'HTML::FormFu::Role::Populate'; | |||||||||
| 9 | |||||||||||
| 10 | 457 | ▶ | use HTML::FormFu::ObjectUtil qw( form parent ); | ||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||
| 11 | |||||||||||
| 12 | 237 | ▶ | sub BUILD { } | ||||||||
|
Subroutine
BUILD: called CC=1 SCAR=0.0
| |||||||||||
| 13 | |||||||||||
| 14 | 54 | ▶ | sub render_data { | ||||||||
|
Subroutine
render_data: called CC=2 SCAR=7.6
Pod
undocumented
| |||||||||||
| 15 | 54 | my $self = shift; | |||||||||
| 16 | |||||||||||
| 17 | 0 | ▶ | my $render = $self->render_data_non_recursive( { @_ ? %{ $_[0] } : () } ); | ||||||||
|
Branch: 1 branch
| |||||||||||
| 18 | |||||||||||
| 19 | 54 | return $render; | |||||||||
| 20 | } | ||||||||||
| 21 | |||||||||||
| 22 | 54 | ▶ | sub render_data_non_recursive { | ||||||||
|
Subroutine
render_data_non_recursive: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||
| 23 | 54 | my ( $self, $args ) = @_; | |||||||||
| 24 | |||||||||||
| 25 | 54 | ▶ | my %render = ( | ||||||||
|
Branch: 1 branch
| |||||||||||
| 26 | parent => $self->parent, | ||||||||||
| 27 | form => $self->form, | ||||||||||
| 28 | $args ? %$args : (), | ||||||||||
| 29 | ); | ||||||||||
| 30 | |||||||||||
| 31 | 54 | return \%render; | |||||||||
| 32 | } | ||||||||||
| 33 | |||||||||||
| 34 | 457 | __PACKAGE__->meta->make_immutable; | |||||||||
| 35 | |||||||||||
| 36 | 457 | 1; | |||||||||
| 37 | |||||||||||
| 38 | __END__ | ||||||||||