perl-Text-Handlebars-0.30.0-2.mga4.noarch.rpm


Advertisement

Description

perl-Text-Handlebars - Http://handlebarsjs.com/ for Text::Xslate

Distribution: Mageia 4.1
Repository: Mageia Core i586
Package name: perl-Text-Handlebars
Package version: 0.30.0
Package release: 2.mga4
Package architecture: noarch
Package type: rpm
Installed size: 57.54 KB
Download size: 20.71 KB
Official Mirror: distrib-coffee.ipsl.jussieu.fr
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) = @_;

Alternatives

Provides

  • perl(Text::Handlebars) == 0.30.0
  • perl(Text::Handlebars::Compiler) == 0.30.0
  • perl(Text::Handlebars::Symbol) == 0.30.0
  • perl(Text::Xslate::Syntax::Handlebars) == 0.30.0
  • perl-Text-Handlebars == 0.30.0-2.mga4

    Install Howto

    1. Enable Mageia Core repository on "Install and Remove Software"
    2. Update packages list:
      # urpmi.update -a
    3. Install perl-Text-Handlebars rpm package:
      # urpmi perl-Text-Handlebars

    Files

    • /usr/lib/perl5/vendor_perl/5.18.1/Text/Handlebars.pm
    • /usr/lib/perl5/vendor_perl/5.18.1/Text/Handlebars/Compiler.pm
    • /usr/lib/perl5/vendor_perl/5.18.1/Text/Handlebars/Symbol.pm
    • /usr/lib/perl5/vendor_perl/5.18.1/Text/Xslate/
    • /usr/lib/perl5/vendor_perl/5.18.1/Text/Xslate/Syntax/Handlebars.pm
    • /usr/share/doc/perl-Text-Handlebars/Changes
    • /usr/share/doc/perl-Text-Handlebars/LICENSE
    • /usr/share/doc/perl-Text-Handlebars/META.json
    • /usr/share/doc/perl-Text-Handlebars/META.yml
    • /usr/share/doc/perl-Text-Handlebars/README
    • /usr/share/man/man3/Text::Handlebars.3pm.xz

    Changelog

    2013-10-21 - umeabot <umeabot> 0.30.0-2.mga4 + Revision: 537503 - Mageia 4 Mass Rebuild

    2013-09-26 - sander85 <sander85> 0.30.0-1.mga4 + Revision: 487113 - update to 0.03

    2013-01-13 - umeabot <umeabot> 0.10.0-2.mga3 + Revision: 374096 - Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

    2012-10-09 - jquelin <jquelin> 0.10.0-1.mga3 + Revision: 303898 - imported package perl-Text-Handlebars

    2012-10-09 - cpan2dist 0.01-1mga - initial mageia release, generated with cpan2dist

    Advertisement
    Advertisement