| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package HTML::FormFu::Filter::NonNumeric; |
|
2
|
|
|
|
|
|
|
|
|
3
|
2
|
|
|
2
|
|
507
|
use strict; |
|
|
2
|
|
|
|
|
3
|
|
|
|
2
|
|
|
|
|
78
|
|
|
4
|
|
|
|
|
|
|
our $VERSION = '2.05'; # VERSION |
|
5
|
|
|
|
|
|
|
|
|
6
|
2
|
|
|
2
|
|
8
|
use Moose; |
|
|
2
|
|
|
|
|
2
|
|
|
|
2
|
|
|
|
|
11
|
|
|
7
|
|
|
|
|
|
|
extends 'HTML::FormFu::Filter::Regex'; |
|
8
|
|
|
|
|
|
|
|
|
9
|
2
|
|
|
2
|
1
|
11
|
sub match {qr/\D+/} |
|
10
|
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
__PACKAGE__->meta->make_immutable; |
|
12
|
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
1; |
|
14
|
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
__END__ |
|
16
|
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 NAME |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
HTML::FormFu::Filter::NonNumeric - filter removing all non-numeric characters |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 VERSION |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
version 2.05 |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
Remove all non-numeric characters. |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head1 AUTHOR |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Carl Franks, C<cfranks@cpan.org> |
|
32
|
|
|
|
|
|
|
|
|
33
|
|
|
|
|
|
|
=head1 LICENSE |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
This library is free software, you can redistribute it and/or modify it under |
|
36
|
|
|
|
|
|
|
the same terms as Perl itself. |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=cut |