lib/HTML/FormFu/Filter/Whitespace.pm

filter: Statementstmt 100% 11 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 3 / 3 Podpod 100% 1 / 1 totaltotal 100% 15 / 15 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
match
1.0
CRAP 1.0
« lib/HTML/FormFu/Filter/NonNumeric.pm ↑ Summary lib/HTML/FormFu/I18N/de.pm »
1 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package HTML::FormFu::Filter::Whitespace;
4 4 $HTML::FormFu::Filter::Whitespace::VERSION = '2.06';
5 # ABSTRACT: filter stripping all whitespace
6  
7 4 ▶use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 4 extends 'HTML::FormFu::Filter::Regex';
9  
10 2 ▶sub match {qr/\s+/}
Subroutine match: called CC=1 SCAR=0.0
Pod documented
11  
12 4 __PACKAGE__->meta->make_immutable;
13  
14 4 1;
15  
16 __END__
17  
18 =pod
19  
20 =encoding UTF-8
21  
22 =head1 NAME
23  
24 HTML::FormFu::Filter::Whitespace - filter stripping all whitespace
25  
26 =head1 VERSION
27  
28 version 2.06
29  
30 =head1 DESCRIPTION
31  
32 Removes all whitespace.
33  
34 =head1 AUTHOR
35  
36 Carl Franks, C<cfranks@cpan.org>
37  
38 Based on the original source code of L<HTML::Widget::Filter::Whitespace>, by
39 Sebastian Riedel, C<sri@oook.de>
40  
41 =head1 LICENSE
42  
43 This library is free software, you can redistribute it and/or modify it under
44 the same terms as Perl itself.
45  
46 =head1 AUTHOR
47  
48 Carl Franks <cpan@fireartist.com>
49  
50 =head1 COPYRIGHT AND LICENSE
51  
52 This software is copyright (c) 2018 by Carl Franks.
53  
54 This is free software; you can redistribute it and/or modify it under
55 the same terms as the Perl 5 programming language system itself.
56  
57 =cut
« lib/HTML/FormFu/Filter/NonNumeric.pm ↑ Summary lib/HTML/FormFu/I18N/de.pm »