Text::Decorator::Filter::TTBridge - Use Template Toolkit filters
$decorator->add_filter(TTBridge => all => "trim"); $decorator->add_filter(TTBridge => all => "indent" => 4); $decorator->add_filter(TTBridge => html => "uri");
This bridge allows Text::Decorator to make use of Template Toolkit's standard filters.
First you need to specify which representations this filter applies to; "all" will convert all representations. Next you give the name of the TT filter, and following that, any arguments to pass to the filter.
To install Text::Decorator, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Decorator
CPAN shell
perl -MCPAN -e shell install Text::Decorator
For more information on module installation, please visit the detailed CPAN module installation guide.