line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package DTL::Fast::Filter::Dictsortreversed; |
2
|
2
|
|
|
2
|
|
767
|
use strict; |
|
2
|
|
|
|
|
4
|
|
|
2
|
|
|
|
|
47
|
|
3
|
2
|
|
|
2
|
|
8
|
use utf8; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
8
|
|
4
|
2
|
|
|
2
|
|
38
|
use warnings FATAL => 'all'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
50
|
|
5
|
2
|
|
|
2
|
|
8
|
use parent 'DTL::Fast::Filter::Dictsort'; |
|
2
|
|
|
|
|
3
|
|
|
2
|
|
|
|
|
8
|
|
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
$DTL::Fast::FILTER_HANDLERS{dictsortreversed} = __PACKAGE__; |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
#@Override |
10
|
|
|
|
|
|
|
sub sort_function |
11
|
|
|
|
|
|
|
{ |
12
|
4
|
|
|
4
|
0
|
6
|
my $self = shift; |
13
|
4
|
|
|
|
|
19
|
my $val1 = shift; |
14
|
4
|
|
|
|
|
11
|
my $val2 = shift; |
15
|
|
|
|
|
|
|
|
16
|
4
|
|
|
|
|
12
|
return $self->SUPER::sort_function($val2, $val1); |
17
|
|
|
|
|
|
|
} |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
1; |