| 1 | package Template::LiquidX::Tidy::Tag::include; | ||
| 2 | |||
| 3 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | 1 | ▶ | use experimental 'signatures'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 6 | |||
| 7 | 1 | our $VERSION = '0.01'; | |
| 8 | |||
| 9 | 1 | ▶ | use base 'Template::Liquid::Tag'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 10 | |||
| 11 | #sub conditional_tag { } | ||
| 12 | 1 | ▶ | sub import { Template::Liquid::register_tag('include') } |
|
Subroutine
import: called CC=1 SCAR=0.0
| |||
| 13 | ▶ | sub new ($class, $args) { | |
|
Subroutine
new: not called CC=1 SCAR=6.9
Pod
undocumented
| |||
| 14 | 0 | bless $args => $class | |
| 15 | } | ||
| 16 | |||
| 17 | 1 | 1; | |
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Template::LiquidX::Tidy::Tag::include - This is a DUMMY tag to support include | ||
| 22 | |||
| 23 | =head1 SYNOPSIS | ||
| 24 | |||
| 25 | You cannot use this tag for actual include work! | ||
| 26 | |||
| 27 | It is only enough to support indentation of Liquid C<include> in Template::LiquidX::Tidy. | ||
| 28 | |||
| 29 | =cut | ||
| 30 | |||