blib/lib/DDC/PP/CQFilter.pm

filter: Statementstmt 78.6% 136 / 173 Branchbran 53.1% 17 / 32 Conditioncond 48.5% 17 / 35 MC/DCmcdc 15.7% 3 / 19 Subroutinesub 60.2% 44 / 73 Podpod 0.0% 0 / 2 totaltotal 64.9% 217 / 334 CC 32 SCAR 11.0
CC
32
Cov
71%
toString
12.0
toString
7.8
toString
7.3
CRAP 3.0
« blib/lib/DDC/PP/CQueryCompiler.pm ↑ Summary blib/lib/DDC/Format/Raw.pm »
1 ##-*- Mode: CPerl -*-
2  
3 ##======================================================================
4 ## top-level
5 package DDC::PP::CQFilter;
6 20 ▶use DDC::PP::Object;
Subroutine BEGIN: called CC=1 SCAR=0.0
7 20 ▶use DDC::PP::Constants;
Subroutine BEGIN: called CC=1 SCAR=0.0
8 20 ▶use DDC::Utils qw();
Subroutine BEGIN: called CC=1 SCAR=0.0
9 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
10  
11 ##======================================================================
12 ## CQFilter
13 package DDC::PP::CQFilter;
14 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 20 our @ISA = qw(DDC::PP::Object);
16  
17 34 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
Pod undocumented
18 34 my ($that,%opts) = @_;
19 34 return $that->SUPER::new(%opts);
20 }
21  
22 0 ▶sub toString { return "#FILTER[?]"; }
Subroutine toString: not called CC=1 SCAR=6.9
Pod undocumented
23  
24 ##======================================================================
25 package DDC::PP::CQFSort;
26 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
27 20 our @ISA = qw(DDC::PP::CQFilter);
28  
29 20 __PACKAGE__->defprop('Arg0');
30 20 __PACKAGE__->defprop('Arg1');
31 20 __PACKAGE__->defprop('Arg2');
32 20 __PACKAGE__->defprop('Type');
33  
34 0 ▶sub defaultSort { return 'NoSort'; }
Subroutine defaultSort: not called CC=1 SCAR=6.9
35 34 ▶sub new {
Subroutine new: called CC=2 SCAR=6.9
36 34 my ($that,$sort,$arg0,$arg1,$arg2,%opts) = @_;
37 34 ▶ return $that->SUPER::new(Type=>(defined($sort) ? $sort : $DDC::PP::HitSortEnum{$that->defaultSort}),
Branch: 1 branch
BranchTrueFalseTotal
defined $sort ? : 26 8 34
38 Arg0=>$arg0,
39 Arg1=>$arg1,
40 Arg2=>$arg2,
41 %opts);
42 }
43 0 ▶sub new_i {
Subroutine new_i: not called CC=1 SCAR=6.9
44 0 my ($that,$sort,$arg0,$arg1,$arg2,%opts) = @_;
45 0 return $that->new($sort,$arg0,($arg1+0),($arg2+0),%opts);
46 }
47  
48 6 ▶sub argString {
Subroutine argString: called CC=3 SCAR=14.2
49 6 ▶ return !defined($_[1]) || $_[1] eq '' ? '' : DDC::Utils::escapeq($_[1]);
Branch: 1 branch
BranchTrueFalseTotal
!defined($_[1]) || $_[1] eq '' ? : 0 6 6
Condition33%1/3
not defined $_[1] or $_[1] eq ""
l!l&&r!l&&!r
006
MC/DC0%0/2
not defined $_[1] or $_[1] eq ""
not defined $_[1] $_[1] eq ""
Truth table33%1/3
not(A) or B
A= not defined $_[1]B= $_[1] eq ""
ABresult
1X1
011
000
50 }
51 16 ▶sub argStringE {
Subroutine argStringE: called CC=2 SCAR=7.6
52 16 ▶ return DDC::Utils::escapeq(defined($_[1]) ? $_[1] : '');
Branch: 1 branch
BranchTrueFalseTotal
defined $_[1] ? : 16 0 16
53 }
54 6 ▶sub toString {
Subroutine toString: called CC=7 SCAR=20.5
55 6 my $f = shift;
56 my $args = join(',',
57 ($f->{Arg0} ? $f->{Arg0} : qw()),
58 ($f->{Arg1} || $f->{Arg2}
59 ? ((defined($f->{Arg1}) ? $f->{Arg1} : ''),
60 6 ▶ (defined($f->{Arg2}) ? $f->{Arg2} : ''))
Branch: 4 branches
BranchTrueFalseTotal
$f->{'Arg0'} ? : 0 6 6
$f->{'Arg1'} || $f->{'Arg2'} ? : 2 4 6
defined $f->{'Arg1'} ? : 2 0 2
defined $f->{'Arg2'} ? : 2 0 2
Condition66%2/3
$f->{"Arg1"} or $f->{"Arg2"}
l!l&&r!l&&!r
204
MC/DC50%1/2
$f->{"Arg1"} or $f->{"Arg2"}
$f->{"Arg1"} $f->{"Arg2"}
Truth table66%2/3
A or B
A= $f->{"Arg1"}B= $f->{"Arg2"}
ABresult
1X1
011
000
61 : qw())
62 );
63 6 ▶ return '#'.uc($DDC::PP::HitSortEnumStrings[$f->{Type}]).($args ? "[$args]" : '');
Branch: 1 branch
BranchTrueFalseTotal
$args ? : 2 4 6
64 }
65  
66 12 ▶sub jsonType { return (FilterType=>$DDC::PP::HitSortEnumStrings[$_[0]{Type}]); }
Subroutine jsonType: called CC=1 SCAR=0.0
67 12 ▶sub jsonMinMax { return (Min=>$_[0]{Arg1}, Max=>$_[0]{Arg2}); }
Subroutine jsonMinMax: called CC=1 SCAR=0.0
68 12 ▶sub jsonData { return ($_[0]->jsonType, $_[0]->jsonMinMax); }
Subroutine jsonData: called CC=1 SCAR=0.0
69  
70 ##-- ddc-compatible hash-conversion (for toJson())
71 16 ▶sub toHash {
Subroutine toHash: called CC=2 SCAR=7.1
72 16 my ($obj,%opts) = @_;
73 16 ▶ return $obj->SUPER::toHash(%opts) if (!$opts{json});
Branch: 1 branch
BranchTrueFalseTotal
unless $opts{"json"} 0 16 16
74 16 return { class=>$obj->jsonClass, $obj->jsonData };
75 }
76  
77 ##-- pseudo-accessors (for json)
78 20 __PACKAGE__->defalias('Min'=>'Arg1', 0,1);
79 20 __PACKAGE__->defalias('Max'=>'Arg2', 0,1);
80 #sub getFilterType { return $DDC::PP::HitSortEnumStrings[$_[0]{Type}]; }
81 0 ▶sub setFilterType { return $_[0]{Type} = $DDC::PP::HitSortEnum{$_[1]}; }
Subroutine setFilterType: not called CC=1 SCAR=6.9
82  
83  
84 ##======================================================================
85 ## CQFRankSort
86 package DDC::PP::CQFRankSort;
87 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
88 20 our @ISA = qw(DDC::PP::CQFSort);
89  
90 0 ▶sub defaultSort { return 'GreaterByRank'; }
Subroutine defaultSort: not called CC=1 SCAR=6.9
91 0 ▶sub jsonMinMax { return qw(); }
Subroutine jsonMinMax: not called CC=1 SCAR=6.9
92  
93 ##======================================================================
94 ## CQFDateSort
95 package DDC::PP::CQFDateSort;
96 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
97 20 our @ISA = qw(DDC::PP::CQFSort);
98  
99 0 ▶sub defaultSort { return 'LessByDate' };
Subroutine defaultSort: not called CC=1 SCAR=6.9
100 16 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
101 16 my ($that,$ftype,$lb,$ub,%opts) = @_;
102 16 return $that->SUPER::new($ftype,'',$lb,$ub,%opts);
103 }
104  
105 ##======================================================================
106 ## CQFSizeSort
107 package DDC::PP::CQFSizeSort;
108 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
109 20 our @ISA = qw(DDC::PP::CQFSort);
110  
111 0 ▶sub defaultSort { return 'LessBySize'; }
Subroutine defaultSort: not called CC=1 SCAR=6.9
112 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
113 0 my ($that,$ftype,$lb,$ub,%opts) = @_;
114 0 return $that->SUPER::new($ftype,'',$lb,$ub,%opts);
115 }
116  
117 ##======================================================================
118 ## CQFRandomSort
119 package DDC::PP::CQFRandomSort;
120 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
121 20 our @ISA = qw(DDC::PP::CQFSort);
122  
123 0 ▶sub defaultSort { return 'RandomSort'; }
Subroutine defaultSort: not called CC=1 SCAR=6.9
124 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
125 0 my ($that,$seed,%opts) = @_;
126 0 return $that->SUPER::new(undef,'',$seed,'',%opts);
127 }
128 20 *new_i = \&new;
129  
130 ##-- ddc-json compat
131 20 __PACKAGE__->defalias('Seed'=>'Arg1', 0,1);
132 0 ▶sub jsonMinMax { return (Seed=>$_[0]{Arg1}); }
Subroutine jsonMinMax: not called CC=1 SCAR=6.9
133  
134 ##======================================================================
135 ## CQFBiblSort
136 package DDC::PP::CQFBiblSort;
137 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
138 20 our @ISA = qw(DDC::PP::CQFSort);
139  
140 0 ▶sub defaultSort { return 'LessByFreeBiblField'; }
Subroutine defaultSort: not called CC=1 SCAR=6.9
141 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
142 0 my ($that,$ftype,$field,$lb,$ub,%opts) = @_;
143 0 return $that->SUPER::new($ftype,$field,$lb,$ub,%opts);
144 }
145  
146 0 ▶sub toString {
Subroutine toString: not called CC=3 SCAR=24.8
147 0 my $f = shift;
148 return ('#'.uc($DDC::PP::HitSortEnumStrings[$f->{Type}])
149 .'['.join(',',
150 $f->argString($f->{Arg0}),
151 (defined($f->{Arg1}) || defined($f->{Arg2})
152 0 ▶ ? ($f->argString($f->{Arg1}),$f->argString($f->{Arg2}))
Branch: 1 branch
BranchTrueFalseTotal
defined $f->{'Arg1'} || defined $f->{'Arg2'} ? : 0 0 0
Condition0%0/3
defined $f->{"Arg1"} or defined $f->{"Arg2"}
l!l&&r!l&&!r
000
MC/DC0%0/2
defined $f->{"Arg1"} or defined $f->{"Arg2"}
defined $f->{"Arg1"} defined $f->{"Arg2"}
Truth table0%0/3
A or B
A= defined $f->{"Arg1"}B= defined $f->{"Arg2"}
ABresult
1X1
011
000
153 : qw()),
154 )
155 .']');
156 }
157  
158 ##-- ddc-json compat
159 20 __PACKAGE__->defalias('Field'=>'Arg0', 0,1);
160 0 ▶sub jsonData { return (Field=>$_[0]{Arg0}, $_[0]->SUPER::jsonData); }
Subroutine jsonData: not called CC=1 SCAR=6.9
161  
162  
163 ##======================================================================
164 ## CQFContextSort
165 package DDC::PP::CQFContextSort;
166 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
167 20 our @ISA = qw(DDC::PP::CQFSort);
168  
169 0 ▶sub defaultSort { return 'LessByMiddleContext'; }
Subroutine defaultSort: not called CC=1 SCAR=6.9
170 2 ▶sub new {
Subroutine new: called CC=3 SCAR=12.0
171 2 my ($that,$ftype,$field,$matchid,$offset,$lb,$ub,%opts) = @_;
172 2 ▶ return $that->SUPER::new($ftype,$field,$lb,$ub, MatchId=>($matchid||0), Offset=>($offset||0), %opts);
Condition50%2/4
$matchid || 0
l!l
20
$offset || 0
l!l
20
MC/DC0%0/1
$matchid || 0
$matchid
MC/DC0%0/1
$offset || 0
$offset
Truth table50%1/2
A
A= $matchid
Aresult
11
00
Truth table50%1/2
A
A= $offset
Aresult
11
00
173 }
174  
175 2 ▶sub toString {
Subroutine toString: called CC=5 SCAR=19.9
176 2 my $f = shift;
177 return ('#'.uc($DDC::PP::HitSortEnumStrings[$f->{Type}])
178 .'['.$f->argString($f->{Arg0})
179 .($f->{MatchId} ? " =$f->{MatchId}" : '')
180 .sprintf(" %+d", ($f->{Offset}||0))
181 .(defined($f->{Arg1}) || defined($f->{Arg2})
182 2 ▶ ? join(',', '', $f->argString($f->{Arg1}), $f->argString($f->{Arg2}))
Branch: 2 branches
BranchTrueFalseTotal
$f->{'MatchId'} ? : 2 0 2
defined $f->{'Arg1'} || defined $f->{'Arg2'} ? : 2 0 2
Condition40%2/5
$f->{'Offset'} || 0
l!l
20
defined $f->{"Arg1"} or defined $f->{"Arg2"}
l!l&&r!l&&!r
200
MC/DC0%0/1
$f->{'Offset'} || 0
$f->{'Offset'}
MC/DC0%0/2
defined $f->{"Arg1"} or defined $f->{"Arg2"}
defined $f->{"Arg1"} defined $f->{"Arg2"}
Truth table50%1/2
A
A= $f->{'Offset'}
Aresult
11
00
Truth table33%1/3
A or B
A= defined $f->{"Arg1"}B= defined $f->{"Arg2"}
ABresult
1X1
011
000
183 : '')
184 .']');
185 }
186  
187 0 ▶sub jsonData { return (Field=>$_[0]{Arg0}, MatchId=>$_[0]{MatchId}, Offset=>$_[0]{Offset}, $_[0]->SUPER::jsonData); }
Subroutine jsonData: not called CC=1 SCAR=6.9
188 20 __PACKAGE__->defalias('Field'=>'Arg0', 0,1);
189  
190 ##======================================================================
191 ## CQFHasField
192 package DDC::PP::CQFHasField;
193 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
194 20 our @ISA = qw(DDC::PP::CQFSort);
195  
196 20 __PACKAGE__->defprop('Negated');
197 8 ▶sub defaultSort { return 'NoSort'; }
Subroutine defaultSort: called CC=1 SCAR=0.0
198 8 ▶sub new {
Subroutine new: called CC=2 SCAR=6.9
199 8 my ($that,$field,$val,$negated,%opts) = @_;
200 8 ▶ return $that->SUPER::new(undef,$field,$val,'',Negated=>($negated||0),%opts);
Condition100%2/2
$negated || 0
l!l
26
MC/DC100%1/1
$negated || 0
$negated
Truth table100%2/2
A
A= $negated
Aresult
11
00
201 }
202  
203 0 ▶sub Negate { $_[0]{Negated} = $_[0]{Negated} ? 0 : 1; }
Subroutine Negate: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_[0]{'Negated'} ? : 0 0 0
204  
205 8 ▶sub toString {
Subroutine toString: called CC=2 SCAR=6.9
206 8 my $f = shift;
207 return (($f->{Negated} ? '!' : '')
208 8 ▶ ."#HAS[".$f->argStringE($f->{Arg0}).','.$f->valueString.']'
Branch: 1 branch
BranchTrueFalseTotal
$f->{'Negated'} ? : 2 6 8
209 );
210 }
211 4 ▶sub valueString { return $_[0]->argStringE($_[0]{Arg1}); }
Subroutine valueString: called CC=1 SCAR=0.0
212  
213 0 ▶sub jsonMinMax { return (Field=>$_[0]{Arg0}, Value=>$_[0]->jsonFieldValue, Negated=>($_[0]{Negated} ? 1 : 0)); }
Subroutine jsonMinMax: not called CC=2 SCAR=17.9
Branch: 1 branch
BranchTrueFalseTotal
$_[0]{'Negated'} ? : 0 0 0
214 0 ▶sub jsonFieldValue { return $_[0]{Arg1}; }
Subroutine jsonFieldValue: not called CC=1 SCAR=6.9
215 20 __PACKAGE__->defalias('Field'=>'Arg0', 0,1);
216 20 __PACKAGE__->defalias('Value'=>'Arg1', 0,1);
217  
218 ##======================================================================
219 ## CQFHasFieldValue
220 package DDC::PP::CQFHasFieldValue;
221 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
222 20 our @ISA = qw(DDC::PP::CQFHasField);
223  
224 ##======================================================================
225 ## CQFHasFieldRegex
226 package DDC::PP::CQFHasFieldRegex;
227 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
228 20 our @ISA = qw(DDC::PP::CQFHasField);
229  
230 20 __PACKAGE__->defprop('Regex');
231 2 ▶sub new {
Subroutine new: called CC=1 SCAR=0.0
232 2 my ($that,$field,$val,$negated,%opts) = @_;
233 2 return $that->SUPER::new($field,$val,$negated,Regex=>$val,%opts);
234 }
235  
236 2 ▶sub valueString { return "/$_[0]{Regex}/"; }
Subroutine valueString: called CC=1 SCAR=0.0
237  
238 ##======================================================================
239 ## CQFHasFieldPrefix
240 package DDC::PP::CQFHasFieldPrefix;
241 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
242 20 our @ISA = qw(DDC::PP::CQFHasFieldRegex);
243  
244 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
245 0 my ($that,$field,$val,$negated,%opts) = @_;
246 0 return $that->SUPER::new($field,$val,$negated,Regex=>"^\\Q${val}\\E",%opts);
247 }
248  
249 0 ▶sub valueString { return $_[0]->argStringE($_[0]{Arg1}).'*'; }
Subroutine valueString: not called CC=1 SCAR=6.9
250  
251 ##======================================================================
252 ## CQFHasFieldSuffix
253 package DDC::PP::CQFHasFieldSuffix;
254 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
255 20 our @ISA = qw(DDC::PP::CQFHasFieldRegex);
256  
257 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
258 0 my ($that,$field,$val,$negated,%opts) = @_;
259 0 return $that->SUPER::new($field,$val,$negated,Regex=>"\\Q${val}\\E\$",%opts);
260 }
261  
262 0 ▶sub valueString { return '*'.$_[0]->argStringE($_[0]{Arg1}); }
Subroutine valueString: not called CC=1 SCAR=6.9
263  
264 ##======================================================================
265 ## CQFHasFieldInfix
266 package DDC::PP::CQFHasFieldInfix;
267 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
268 20 our @ISA = qw(DDC::PP::CQFHasFieldRegex);
269  
270 0 ▶sub new {
Subroutine new: not called CC=1 SCAR=6.9
271 0 my ($that,$field,$val,$negated,%opts) = @_;
272 0 return $that->SUPER::new($field,$val,$negated,Regex=>"\\Q${val}\\E",%opts);
273 }
274  
275 0 ▶sub valueString { return '*'.$_[0]->argStringE($_[0]{Arg1}).'*'; }
Subroutine valueString: not called CC=1 SCAR=6.9
276  
277 ##======================================================================
278 ## CQFHasFieldSet
279 package DDC::PP::CQFHasFieldSet;
280 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
281 20 our @ISA = qw(DDC::PP::CQFHasField);
282  
283 20 __PACKAGE__->defprop('Values');
284 2 ▶sub new {
Subroutine new: called CC=2 SCAR=7.2
285 2 my ($that,$field,$vals,$negated,%opts) = @_;
286 2 ▶ return $that->SUPER::new($field,"{}",$negated,Values=>($vals||[]),%opts);
Condition50%1/2
$vals || []
l!l
20
MC/DC0%0/1
$vals || []
$vals
Truth table50%1/2
A
A= $vals
Aresult
11
00
287 }
288  
289 2 ▶sub SetValueString {
Subroutine SetValueString: called CC=3 SCAR=12.0
290 2 my ($f,$vals) = @_;
291 2 ▶ $vals ||= ($f->{Values}||[]);
Condition40%2/5
$vals ||= $f->{"Values"} || []
l!l&&r!l&&!r
020
$f->{'Values'} || []
l!l
20
MC/DC0%0/2
$vals ||= $f->{"Values"} || []
$vals $f->{'Values'}
Truth table33%1/3
A ||= B
A= $valsB= $f->{'Values'}
ABresult
1X1
011
000
292 2 return join(',', map {$f->argStringE($_)} @$vals);
293 }
294 2 ▶sub valueString { return '{' . $_[0]->SetValueString . '}'; }
Subroutine valueString: called CC=1 SCAR=0.0
295  
296 0 ▶sub jsonFieldValue { return $_[0]{Values}; }
Subroutine jsonFieldValue: not called CC=1 SCAR=6.9
297  
298  
299 ##======================================================================
300 ## CQFPrune
301  
302 package DDC::PP::CQFPrune;
303 20 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
304 20 our @ISA = qw(DDC::PP::CQFSort);
305  
306 20 __PACKAGE__->defprop('Limit');
307 20 __PACKAGE__->defprop('Keys');
308 6 ▶sub new {
Subroutine new: called CC=3 SCAR=11.1
309 6 my ($that,$sort,$limit,$keys,%opts) = @_;
310 6 ▶ return $that->SUPER::new($sort,undef,undef,undef,Limit=>($limit//0), Keys=>($keys//[]), %opts);
Condition75%3/4
$limit // 0
l!l
60
$keys // []
l!l
42
MC/DC0%0/1
$limit // 0
$limit
MC/DC100%1/1
$keys // []
$keys
Truth table50%1/2
A
A= $limit
Aresult
11
00
Truth table100%2/2
A
A= $keys
Aresult
11
00
311 }
312  
313 0 ▶sub defaultSort { return 'LessByPruneKey'; }
Subroutine defaultSort: not called CC=1 SCAR=6.9
314  
315 2 ▶sub toString {
Subroutine toString: called CC=3 SCAR=12.0
316 2 my $f = shift;
317 my $s = ('#'.uc($DDC::PP::HitSortEnumStrings[$f->{Type}])
318 .'['.join(',',
319 ($f->{Limit}//0),
320 2 ▶ (UNIVERSAL::can($f->{Keys},'toString') ? $f->{Keys}->toString() : qw()),
Branch: 1 branch
BranchTrueFalseTotal
UNIVERSAL::can($f->{'Keys'}, 'toString') ? : 0 2 2
Condition50%1/2
$f->{"Limit"} // 0
l!l
20
MC/DC0%0/1
$f->{"Limit"} // 0
$f->{"Limit"}
Truth table50%1/2
A
A= $f->{"Limit"}
Aresult
11
00
321 )
322 .']');
323 }
324  
325 4 ▶sub jsonData {
Subroutine jsonData: called CC=2 SCAR=7.6
326 4 ▶ return ('Limit'=>($_[0]{Limit}//0), Keys=>$_[0]{Keys});
Condition50%1/2
$_[0]{"Limit"} // 0
l!l
40
MC/DC0%0/1
$_[0]{"Limit"} // 0
$_[0]{"Limit"}
Truth table50%1/2
A
A= $_[0]{"Limit"}
Aresult
11
00
327 }
328  
329  
330 20 1; ##-- be happy
331  
332 =pod
333  
334 =head1 NAME
335  
336 DDC::PP::CQFilter - pure-perl implementation of DDC::XS::CQFilter
337  
338 =head1 SYNOPSIS
339  
340 use DDC::PP::CQFilter;
341 #... stuff happens ...
342  
343  
344 =head1 DESCRIPTION
345  
346 The DDC::PP::CQFilter class is a pure-perl fork of the L<DDC::XS::CQFilter|DDC::XS::CQFilter> class,
347 which see for details.
348  
349 =head1 SEE ALSO
350  
351 perl(1),
352 DDC::PP(3perl),
353 DDC::XS::CQFilter(3perl).
354  
355 =head1 AUTHOR
356  
357 Bryan Jurish E<lt>moocow@cpan.orgE<gt>
358  
359 =head1 COPYRIGHT AND LICENSE
360  
361 Copyright (C) 2016-2020 by Bryan Jurish
362  
363 This library is free software; you can redistribute it and/or modify
364 it under the same terms as Perl itself, either Perl version 5.14.2 or,
365 at your option, any later version of Perl 5 you may have available.
366  
367 =cut
368  
« blib/lib/DDC/PP/CQueryCompiler.pm ↑ Summary blib/lib/DDC/Format/Raw.pm »