« blib/lib/DTL/Fast/Expression/Operator/Unary/Defined.pm
↑ Summary
blib/lib/DTL/Fast/Filter/Time.pm »
| 1 | package DTL::Fast::Filter::Lower; | ||||||||||||
| 2 | 2 | ▶ | use strict; use utf8; use warnings FATAL => 'all'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 3 | 2 | ▶ | use parent 'DTL::Fast::Filter'; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 4 | |||||||||||||
| 5 | 2 | ▶ | use locale; | ||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||
| 6 | |||||||||||||
| 7 | 2 | $DTL::Fast::FILTER_HANDLERS{'lower'} = __PACKAGE__; | |||||||||||
| 8 | |||||||||||||
| 9 | #@Override | ||||||||||||
| 10 | sub filter | ||||||||||||
| 11 | { | ||||||||||||
| 12 | 2 | ▶ | shift; # self | ||||||||||
|
Subroutine
filter: called CC=2 SCAR=7.1
Pod
undocumented
| |||||||||||||
| 13 | 2 | shift; # filter_manager | |||||||||||
| 14 | |||||||||||||
| 15 | 2 | ▶ | return lc(shift // ''); | ||||||||||
|
Condition50%1/2
shift() // ""
MC/DC0%0/1
shift() // ""
shift()
Truth table50%1/2
A
A= shift()
| |||||||||||||
| 16 | } | ||||||||||||
| 17 | |||||||||||||
| 18 | 2 | 1; | |||||||||||