| 1 | package DTL::Fast::Filter::Ljust; | ||
| 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::Filter::Center'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | 2 | $DTL::Fast::FILTER_HANDLERS{'ljust'} = __PACKAGE__; | |
| 6 | |||
| 7 | #@Override | ||
| 8 | sub adjust | ||
| 9 | { | ||
| 10 | 2 | ▶ | my $self = shift; |
|
Subroutine
adjust: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 11 | 2 | my $value = shift; | |
| 12 | 2 | my $adjustment = shift; | |
| 13 | 2 | return $value.(' 'x $adjustment); | |
| 14 | } | ||
| 15 | |||
| 16 | 2 | 1; | |