FormHandler/Widget/Wrapper/None.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 0.0% 0 / 1 totaltotal 92.3% 12 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
wrap_field
1.0
BEGIN
1.0
CRAP 1.0
« FormHandler/Widget/Field/NoRender.pm ↑ Summary FormHandler/Field/BoolSelect.pm »
1 package HTML::FormHandler::Widget::Wrapper::None;
2 # ABSTRACT: wrapper that doesn't wrap
3 11 $HTML::FormHandler::Widget::Wrapper::None::VERSION = '0.410001';
4  
5 11 ▶use Moose::Role;
Subroutine BEGIN: called CC=1 SCAR=0.0
6  
7 27 ▶sub wrap_field { "\n" . $_[2] }
Subroutine wrap_field: called CC=1 SCAR=0.0
Pod undocumented
8  
9 11 ▶use namespace::autoclean;
Subroutine BEGIN: called CC=1 SCAR=0.0
10 11 1;
11  
12 __END__
13  
14 =pod
15  
16 =encoding UTF-8
17  
18 =head1 NAME
19  
20 HTML::FormHandler::Widget::Wrapper::None - wrapper that doesn't wrap
21  
22 =head1 VERSION
23  
24 version 0.410001
25  
26 =head1 DESCRIPTION
27  
28 This wrapper does nothing except return the 'bare' rendered form element,
29 as returned by the 'widget'. It does not add errors or anything else.
30  
31 =head1 AUTHOR
32  
33 FormHandler Contributors - see HTML::FormHandler
34  
35 =head1 COPYRIGHT AND LICENSE
36  
37 This software is copyright (c) 2017 by Gerda Shank.
38  
39 This is free software; you can redistribute it and/or modify it under
40 the same terms as the Perl 5 programming language system itself.
41  
42 =cut
« FormHandler/Widget/Field/NoRender.pm ↑ Summary FormHandler/Field/BoolSelect.pm »