Steven Haryanto > Language-Expr > Language::Expr::Interpreter::Default

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::Interpreter::Default - A default interpreter for Language::Expr

VERSION ^

version 0.21

SYNOPSIS ^

 use Language::Expr::Interpreter::Default;
 my $itp = Language::Expr::Interpreter::Default->new;
 $itp->vars->{a} = 'A';
 say $itp->eval(q["$a b" . "c"]); # "A b c"

DESCRIPTION ^

Interprets Language::Expr expression. Some notes:

ATTRIBUTES ^

vars => {NAME => VAL, ...}

Store variables.

funcs => {NAME => CODEREF, ...}

List known functions.

level => INT

Current recursion level.

METHODS ^

BUGS/TODOS ^

Currently subexpression (map/grep/usort) doesn't work yet.

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: