Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Scalable template engine for Perl5
Perl XS C

Checking in changes prior to tagging of version 3.3.4.

Changelog diff is:

diff --git a/Changes b/Changes
index ff48186..b82d0b9 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,9 @@
 Revision history for Perl extension Text::Xslate

+3.3.4 2015-03-24 23:21:57+0900
+    - Fix typos in document
+    - Introduce $Text::Xslate::DEFAULT_CACHE_DIR
+
 3.3.3 2014-08-04 15:50:00+0900
     - No code changes from 3.3.2, just re-packaging.
latest commit e8bade20db
@gfx gfx authored
Failed to load latest commit information.
author Update author requirements
benchmark s/Any::Moose/Mouse/g
example Documentation update
lib/Text Checking in changes prior to tagging of version 3.3.4.
script Tweaks examples
src Add 'first' and 'last' array builtin methods(#116)
t no CGI.pm, which is no longer a standard module
tool Fix disasm.pl
xt do not test to install MojoX::Render::Xslate
.gitignore
.proverc Add .proverc
.shipit Update .shipit
.travis.yml Add Perl 5.20 for travis-ci
Changes Checking in changes prior to tagging of version 3.3.4.
HACKING
MANIFEST Checking in changes prior to tagging of version 3.3.1.
MANIFEST.SKIP Ignore MYMETA.json
Makefile.PL upgrade M::I::XSUtil to close #104
README.md add github issues and remove IRC channels
uri_unsafe.h Rewrite checking routine to uri-unsafe chars
xslate.h add merge_hash opcode

README.md

NAME Build Status

Text::Xslate - Scalable template engine for Perl5

SYNOPSIS

use Text::Xslate;

my $tx = Text::Xslate->new();

my %vars = (
    title => 'A list of books',
    books => [
        { title => 'Islands in the stream' },
        { title => 'Programming Perl'      },
        # ...
    ],
);

my $template = q{
<h1><: $title :></h1>
<ul>
: for $books -> $book {
    <li><: $book.title :></li>
: } # for
</ul>
};

print $tx->render_string($template, \%vars);

INSTALLATION

Install cpanm (App::cpanminus) and then run the following command to install Xslate:

$ cpanm Text::Xslate

If you get the distribution, unpack it and build it as per the usual:

$ tar xzf Text-Xslate-{version}.tar.gz
$ cd Text-Xslate-{version}
$ perl Makefile.PL
$ make && make test

Then install it:

$ make install

If you want to install it from the repository, you must install authoring tools.

$ cpanm < author/requires.cpanm

DOCUMENTATION

Text::Xslate documentation is available as in POD. So you can do:

$ perldoc Text::Xslate

to read the documentation online with your favorite pager.

RESOURCE

web site:       http://xslate.org/
repositories:   http://github.com/xslate
issue tracking: http://github.com/xslate/issues

LICENSE AND COPYRIGHT

Copyright (c) 2010, Fuji, Goro (gfx). All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

MAINTAINERS

Something went wrong with that request. Please try again.