Text::Template::Simple::Compiler - Compiler


Text-Template-Simple documentation Contained in the Text-Template-Simple distribution.

Index


Code Index:

NAME

Top

Text::Template::Simple::Compiler - Compiler

SYNOPSIS

Top

Private module.

METHODS

Top

compile STRING

DESCRIPTION

Top

This document describes version 0.83 of Text::Template::Simple::Compiler released on 9 February 2011.

Template compiler.

AUTHOR

Top

Burak Gursoy <burak@cpan.org>.

COPYRIGHT

Top

LICENSE

Top

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.12.1 or, at your option, any later version of Perl 5 you may have available.


Text-Template-Simple documentation Contained in the Text-Template-Simple distribution.

package Text::Template::Simple::Compiler;
# the "normal" compiler
use strict;
use warnings;
use vars qw($VERSION);
use Text::Template::Simple::Dummy;

$VERSION = '0.83';

sub compile {
    shift;
    my $code = eval shift;
    return $code;
}

1;

__END__