line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::Widget::Filter::LowerCase; |
2
|
|
|
|
|
|
|
|
3
|
88
|
|
|
88
|
|
76096
|
use warnings; |
|
88
|
|
|
|
|
219
|
|
|
88
|
|
|
|
|
2686
|
|
4
|
88
|
|
|
88
|
|
512
|
use strict; |
|
88
|
|
|
|
|
202
|
|
|
88
|
|
|
|
|
3040
|
|
5
|
88
|
|
|
88
|
|
524
|
use base 'HTML::Widget::Filter'; |
|
88
|
|
|
|
|
208
|
|
|
88
|
|
|
|
|
12127
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
HTML::Widget::Filter::LowerCase - Lower Case Filter |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 SYNOPSIS |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my $f = $widget->filter( 'LowerCase', 'foo' ); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Lower Case Filter. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 METHODS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 filter |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub filter { |
26
|
1
|
|
|
1
|
1
|
3
|
my ( $self, $value ) = @_; |
27
|
1
|
|
|
|
|
11
|
return lc $value; |
28
|
|
|
|
|
|
|
} |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head1 AUTHOR |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Lyo Kato, C |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=head1 LICENSE |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
This library is free software, you can redistribute it and/or modify it under |
37
|
|
|
|
|
|
|
the same terms as Perl itself. |
38
|
|
|
|
|
|
|
|
39
|
|
|
|
|
|
|
=cut |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
1; |