line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
37
|
|
|
37
|
|
15250
|
use strict; |
|
37
|
|
|
|
|
104
|
|
|
37
|
|
|
|
|
1223
|
|
3
|
37
|
|
|
37
|
|
315
|
use warnings; |
|
37
|
|
|
|
|
93
|
|
|
37
|
|
|
|
|
1491
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package WWW::Shopify::Liquid::Operator::PlusAssignment; |
6
|
37
|
|
|
37
|
|
237
|
use base 'WWW::Shopify::Liquid::Operator::Assignment'; |
|
37
|
|
|
|
|
91
|
|
|
37
|
|
|
|
|
3980
|
|
7
|
37
|
|
|
37
|
|
286
|
use Scalar::Util qw(looks_like_number); |
|
37
|
|
|
|
|
91
|
|
|
37
|
|
|
|
|
5249
|
|
8
|
1318
|
|
|
1318
|
0
|
3728
|
sub symbol { return '+='; } |
9
|
|
|
|
|
|
|
sub operate { |
10
|
0
|
|
|
0
|
0
|
|
return first { ($_ cmp $_[4]) == 0 } ref($_[3]) eq "ARRAY"; |
|
0
|
|
|
|
|
|
|
11
|
0
|
|
|
|
|
|
return index($_[3], $_[4]) != -1; |
12
|
|
|
|
|
|
|
} |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
1; |