The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Text::Xslate::PP - Yet another Text::Xslate runtime in pure Perl

VERSION

This document describes Text::Xslate::PP version 0.1027.

DESCRIPTION

This module implements Text::Xslate runtime in pure Perl. Normally it will be loaded in Text::Xslate if needed. So you don't need to use this module in your applications.

    # Text::Xslate calls PP when it fails to load XS.
    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'.

From 0.1024 on, two pure Perl engines are implemented. Text::Xslate::PP::Booster, which is the default, generates optimized Perl code from intermediate code. Text::Xlsate::PP::Opcode emulates the virtual machine in pure Perl, available with $ENV{XSLATE} = 'pp=opcode'.

SEE ALSO

Text::Xslate::PP::Opcode

Text::Xslate::PP::Booster

Text::Xslate

AUTHOR

Makamaka Hannyaharamitu <makamaka at cpan.org>

Text::Xslate was written by Fuji, Goro (gfx).

LICENSE AND COPYRIGHT

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.