| 1 | #!/usr/bin/perl | ||
| 2 | 38 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 38 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 38 | ▶ | package WWW::Shopify::Liquid::Filter::Max; use base 'WWW::Shopify::Liquid::Filter'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | 0 | ▶ | sub transparent { return 1; } |
|
Subroutine
transparent: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 7 | 0 | ▶ | sub max_arguments { return 0; } |
|
Subroutine
max_arguments: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 8 | 38 | ▶ | use List::Util qw(max); |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 9 | 0 | ▶ | sub operate { |
|
Subroutine
operate: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 10 | 0 | return max(@{$_[2]}); | |
| 11 | } | ||
| 12 | |||
| 13 | 38 | 1; | |