Template::Flute::Expression - Parser for expressions
Creates Template::Flute::Expression object.
$expr = Template::Flute::Expression->new('!username');
Possible expressions are:
Evaluates to value username.
username
Reverse.
Evaluates to value foo or value bar.
foo
bar
Evaluates to value foo and value bar.
$expr->evaluate({foo => 'bar'});
Evaluates the expression with a hash reference of values and returns the result.
To install Template::Flute, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Template::Flute
CPAN shell
perl -MCPAN -e shell install Template::Flute
For more information on module installation, please visit the detailed CPAN module installation guide.