line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
#!/usr/bin/perl |
2
|
1
|
|
|
1
|
|
470
|
use strict; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
35
|
|
3
|
1
|
|
|
1
|
|
7
|
use warnings; |
|
1
|
|
|
|
|
4
|
|
|
1
|
|
|
|
|
48
|
|
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
package WWW::Shopify::Liquid::Dialect::Web::Filter::UrlEscape; |
6
|
1
|
|
|
1
|
|
9
|
use base 'WWW::Shopify::Liquid::Filter'; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
138
|
|
7
|
0
|
|
|
0
|
0
|
|
sub max_arguments { return 0; } |
8
|
1
|
|
|
1
|
|
375
|
use URI::Escape qw(uri_escape uri_escape_utf8); |
|
1
|
|
|
|
|
2110
|
|
|
1
|
|
|
|
|
159
|
|
9
|
|
|
|
|
|
|
|
10
|
|
|
|
|
|
|
sub operate { |
11
|
0
|
|
|
0
|
0
|
|
my ($self, $hash, $operand, @arguments) = @_; |
12
|
0
|
0
|
|
|
|
|
return undef unless defined $operand; |
13
|
0
|
|
|
|
|
|
return uri_escape_utf8($operand); |
14
|
|
|
|
|
|
|
} |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
1; |