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

Download:
Language-Expr-0.19.tar.gz

Dependencies

Annotate this POD

Website

CPAN RT

Open  0
View/Report Bugs
Module Version: 0.19   Source  

NAME ^

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

VERSION ^

version 0.19

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) 2012 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: