Text::Hogan -A mustache templating engine statement-for-statement cloned from hogan.js
version 0.01
use Text::Hogan::Compiler; my $text = "Hello, {{name}}!"; my $compiler = Text::Hogan::Compiler->new; my $template = $compiler->compile($text); say $template->render({ name => "Alex" });
Copyright (C) 2015 Lokku Ltd.
Basically statement-for-statement copied from hogan.js by Twitter!
Alex Balhatchet (alex@lokku.com)
To install Text::Hogan, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Hogan
CPAN shell
perl -MCPAN -e shell install Text::Hogan
For more information on module installation, please visit the detailed CPAN module installation guide.