« blib/lib/DTL/Fast/Tag/Filter.pm
↑ Summary
blib/lib/DTL/Fast/Expression/Operator/Binary/Logical.pm »
| 1 | package DTL::Fast::Tag::Spaceless; | ||
| 2 | 2 | ▶ | use strict; use utf8; use warnings FATAL => 'all'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 2 | ▶ | use parent 'DTL::Fast::Tag'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | $DTL::Fast::TAG_HANDLERS{'spaceless'} = __PACKAGE__; | |
| 6 | |||
| 7 | #@Override | ||
| 8 | 1 | ▶ | sub get_close_tag{return 'endspaceless';} |
|
Subroutine
get_close_tag: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 9 | |||
| 10 | sub render | ||
| 11 | { | ||
| 12 | 1 | ▶ | my $self = shift; |
|
Subroutine
render: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 13 | 1 | my $context = shift; | |
| 14 | |||
| 15 | 1 | my $result = $self->SUPER::render($context); | |
| 16 | |||
| 17 | 1 | return DTL::Fast::spaceless($result); | |
| 18 | } | ||
| 19 | |||
| 20 | 2 | 1; | |