Flute/Filter/Upper.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
filter
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Template::Flute::Filter::Upper;
2  
3 use strict;
4 use warnings;
5  
6 use base 'Template::Flute::Filter';
7  
8 =head1 NAME
9  
10 Template::Flute::Filter::Upper - Uppercase filter
11  
12 =head1 DESCRIPTION
13  
14 Uppercase filter.
15  
16 =head1 METHODS
17  
18 =head2 filter
19  
20 Uppercase filter.
21  
22 =cut
23  
24 sub filter {
25 my ($self, $value) = @_;
26  
27 return uc($value);
28 }
29  
30 =head1 AUTHOR
31  
32 Stefan Hornburg (Racke), <racke@linuxia.de>
33  
34 =head1 LICENSE AND COPYRIGHT
35  
36 Copyright 2011-2016 Stefan Hornburg (Racke) <racke@linuxia.de>.
37  
38 This program is free software; you can redistribute it and/or modify it
39 under the terms of either: the GNU General Public License as published
40 by the Free Software Foundation; or the Artistic License.
41  
42 See http://dev.perl.org/licenses/ for more information.
43  
44 =cut
45  
46 1;