Steven Haryanto > Language-Expr-0.21 > Language::Expr::Compiler::Perl

Download:
Language-Expr-0.21.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  1
View/Report Bugs
Module Version: 0.21   Source  

NAME ^

Language::Expr::Compiler::Perl - Compile Language::Expr expression to Perl

VERSION ^

version 0.21

SYNOPSIS ^

 use Language::Expr::Compiler::Perl;
 my $plc = Language::Expr::Compiler::Perl->new;
 print $plc->perl('1 ^^ 2'); # prints '1 xor 2'

DESCRIPTION ^

Compiles Language::Expr expression to Perl code. Some notes:

METHODS ^

perl($expr) => $perl_code

Convert Language::Expr expression into Perl code. Dies if there is syntax error in expression.

AUTHOR ^

Steven Haryanto <stevenharyanto@gmail.com>

COPYRIGHT AND LICENSE ^

This software is copyright (c) 2013 by Steven Haryanto.

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

syntax highlighting: