line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::FormFu::Filter::Whitespace; |
2
|
|
|
|
|
|
|
|
3
|
4
|
|
|
4
|
|
1413
|
use strict; |
|
4
|
|
|
|
|
7
|
|
|
4
|
|
|
|
|
202
|
|
4
|
|
|
|
|
|
|
our $VERSION = '2.05'; # VERSION |
5
|
|
|
|
|
|
|
|
6
|
4
|
|
|
4
|
|
15
|
use Moose; |
|
4
|
|
|
|
|
6
|
|
|
4
|
|
|
|
|
24
|
|
7
|
|
|
|
|
|
|
extends 'HTML::FormFu::Filter::Regex'; |
8
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
1
|
9
|
sub match {qr/\s+/} |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__END__ |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
HTML::FormFu::Filter::Whitespace - filter stripping all whitespace |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 VERSION |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
version 2.05 |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Removes all whitespace. |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 AUTHOR |
30
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Carl Franks, C<cfranks@cpan.org> |
32
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
Based on the original source code of L<HTML::Widget::Filter::Whitespace>, by |
34
|
|
|
|
|
|
|
Sebastian Riedel, C<sri@oook.de> |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
=head1 LICENSE |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
This library is free software, you can redistribute it and/or modify it under |
39
|
|
|
|
|
|
|
the same terms as Perl itself. |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=cut |