in reply to Re^2: What is the character for end of string in template Toolkit?
in thread What is the character for end of string in template Toolkit?
use Template qw( ); my $template = Template->new(); my $input = <<'__EOI__'; [% foo = 'Blah blah,' %] [% foo | replace(',$', '') %] __EOI__ $template->process(\$input) or die $template->error();
Blah blah
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: What is the character for end of string in template Toolkit?
by Anonymous Monk on Jan 16, 2009 at 06:42 UTC | |
by CountZero (Bishop) on Jan 16, 2009 at 08:45 UTC |