Return to Snippet

Revision: 20348
at November 13, 2009 00:42 by awnstudio


Initial Code
[% MACRO spacing(text) PERL %]
    my $n = $stash->get('text');
    print " " x ( 10 - length($n));
[% END -%]

Initial URL

                                

Initial Description

                                

Initial Title
CLI/Shell spacing with Template--Toolkit (TT) without looping

Initial Tags
perl

Initial Language
Perl