Text::Xslate::PP - Yet another Text::Xslate runtime in pure Perl
This document describes Text::Xslate::PP version 0.1044.
This module implements Text::Xslate runtime engine in pure Perl. Normally it will be loaded if it fails to load XS. So you don't need to use this module explicitly.
# Text::Xslate loads PP if needed use Text::Xslate; my $tx = Text::Xslate->new();
If you want to use Text::Xslate::PP, however, you can use it.
use Text::Xslate::PP; my $tx = Text::Xslate->new();
XS/PP mode might be switched with $ENV{XSLATE} = 'pp' or 'xs'.
$ENV{XSLATE} = 'pp' or 'xs'
From 0.1024 on, there are two pure Perl engines. Text::Xslate::PP::Booster, used with $ENV{XSLATE} = 'pp=booster', generates optimized Perl code from intermediate code. Text::Xlsate::PP::Opcode, used with $ENV{XSLATE = 'pp=opcode', execute intermediate code directly, emulating the virtual machine in pure Perl.
Text::Xslate::PP::Booster
$ENV{XSLATE} = 'pp=booster'
Text::Xlsate::PP::Opcode
$ENV{XSLATE = 'pp=opcode'
PP::Booster is much faster than PP::Opcode, but it is less stable, so the default pure Perl engine is PP::Opcode, but PP::Booster will be the default in a future if it is stable enough.
Text::Xslate
Text::Xslate::PP::Opcode
Makamaka Hannyaharamitu <makamaka at cpan.org>
Text::Xslate was written by Fuji, Goro (gfx).
Copyright (c) 2010 by Makamaka Hannyaharamitu (makamaka).
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Text::Xslate, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Text::Xslate
CPAN shell
perl -MCPAN -e shell install Text::Xslate
For more information on module installation, please visit the detailed CPAN module installation guide.