| 1 | 2 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | |||
| 3 | package HTML::FormFu::Filter::NonNumeric; | ||
| 4 | 2 | $HTML::FormFu::Filter::NonNumeric::VERSION = '2.06'; | |
| 5 | # ABSTRACT: filter removing all non-numeric characters | ||
| 6 | |||
| 7 | 2 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | 2 | extends 'HTML::FormFu::Filter::Regex'; | |
| 9 | |||
| 10 | 2 | ▶ | sub match {qr/\D+/} |
|
Subroutine
match: called CC=1 SCAR=0.0
Pod
documented
| |||
| 11 | |||
| 12 | 2 | __PACKAGE__->meta->make_immutable; | |
| 13 | |||
| 14 | 2 | 1; | |
| 15 | |||
| 16 | __END__ | ||
| 17 | |||
| 18 | =pod | ||
| 19 | |||
| 20 | =encoding UTF-8 | ||
| 21 | |||
| 22 | =head1 NAME | ||
| 23 | |||
| 24 | HTML::FormFu::Filter::NonNumeric - filter removing all non-numeric characters | ||
| 25 | |||
| 26 | =head1 VERSION | ||
| 27 | |||
| 28 | version 2.06 | ||
| 29 | |||
| 30 | =head1 DESCRIPTION | ||
| 31 | |||
| 32 | Remove all non-numeric characters. | ||
| 33 | |||
| 34 | =head1 AUTHOR | ||
| 35 | |||
| 36 | Carl Franks, C<cfranks@cpan.org> | ||
| 37 | |||
| 38 | =head1 LICENSE | ||
| 39 | |||
| 40 | This library is free software, you can redistribute it and/or modify it under | ||
| 41 | the same terms as Perl itself. | ||
| 42 | |||
| 43 | =head1 AUTHOR | ||
| 44 | |||
| 45 | Carl Franks <cpan@fireartist.com> | ||
| 46 | |||
| 47 | =head1 COPYRIGHT AND LICENSE | ||
| 48 | |||
| 49 | This software is copyright (c) 2018 by Carl Franks. | ||
| 50 | |||
| 51 | This is free software; you can redistribute it and/or modify it under | ||
| 52 | the same terms as the Perl 5 programming language system itself. | ||
| 53 | |||
| 54 | =cut | ||