Package : perl-Text-Handlebars > RPM : perl-Text-Handlebars-0.30.0-2.mga4.src.rpm

Basic items

Name perl-Text-Handlebars
Version 0.30.0
Release 2.mga4
URL http://search.cpan.org/dist/Text-Handlebars
Group Development/Perl
Summary Http://handlebarsjs.com/ for Text::Xslate
Size 40KB
Arch noarch
License GPL+ or Artistic

Description

This module subclasses the Text::Xslate manpage to provide a parser for
http://handlebarsjs.com/ templates. In most ways, this module functions
identically to Text::Xslate, except that it parses Handlebars templates
instead.

Text::Handlebars accepts an additional constructor parameter of 'helpers'
to define Handlebars-style helper functions. Standard helpers are identical
to functions defined with the 'function' parameter, except that they
receive the current context implicitly as the first parameter (since perl
doesn't have an implicit 'this' parameter). Block helpers also receive the
context as the first parameter, and they also receive the 'options'
parameter as a hashref. As an example:

sub {
my ($context, $items, $options) = @_;

Media information

Distribution release Mageia 4
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2013-10-21 13:03:42
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie