| 1 | package DBIx::SQLEngine::Criteria::StringComparison; | ||||||||||||||||||||
| 2 | |||||||||||||||||||||
| 3 | 7 | ▶ | use DBIx::SQLEngine::Criteria::Comparison; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 4 | 7 | @ISA = 'DBIx::SQLEngine::Criteria::Comparison'; | |||||||||||||||||||
| 5 | 7 | ▶ | use strict; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 6 | 7 | ▶ | use Carp; | ||||||||||||||||||
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||||||||||||||||||||
| 7 | |||||||||||||||||||||
| 8 | 47 | ▶ | sub sql_comparator { | ||||||||||||||||||
|
Subroutine
sql_comparator: called CC=3 SCAR=12.7
Pod
documented
| |||||||||||||||||||||
| 9 | 47 | ▶ | ( ( (shift)->compv || '' ) =~ /%/ ) ? 'like' : '=' | ||||||||||||||||||
|
Branch: 1 branch
Condition50%1/2
(shift())->compv || ''
MC/DC0%0/1
(shift())->compv || ''
(shift())->compv
Truth table50%1/2
A
A= (shift())->compv
| |||||||||||||||||||||
| 10 | } | ||||||||||||||||||||
| 11 | |||||||||||||||||||||
| 12 | 7 | 1; | |||||||||||||||||||
| 13 | |||||||||||||||||||||
| 14 | __END__ | ||||||||||||||||||||