String::Truncate filter for Template::Toolkit