line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package HTML::Widget::Filter::UpperCase; |
2
|
|
|
|
|
|
|
|
3
|
88
|
|
|
88
|
|
75441
|
use warnings; |
|
88
|
|
|
|
|
220
|
|
|
88
|
|
|
|
|
2770
|
|
4
|
88
|
|
|
88
|
|
496
|
use strict; |
|
88
|
|
|
|
|
290
|
|
|
88
|
|
|
|
|
2709
|
|
5
|
88
|
|
|
88
|
|
463
|
use base 'HTML::Widget::Filter'; |
|
88
|
|
|
|
|
179
|
|
|
88
|
|
|
|
|
10664
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
=head1 NAME |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
HTML::Widget::Filter::UpperCase - Upper Case Filter |
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
=head1 SYNOPSIS |
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
my $f = $widget->filter( 'UpperCase', 'foo' ); |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
=head1 DESCRIPTION |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
Upper Case Filter. |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head1 METHODS |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head2 filter |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
sub filter { |
26
|
3
|
|
|
3
|
1
|
7
|
my ( $self, $value ) = @_; |
27
|
3
|
|
|
|
|
25
|
return uc $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; |