1Math::Expression::EvaluUasteorr:C:oUnttirli(b3u)ted PerlMaDtohc:u:mEexnptraetsisoinon::Evaluator::Util(3)
2
3
4
6 Math::Expression::Evaluator::Util - Common functions for
7 Math::Expression::Evaluator
8
10 use Math::Expression::Evaluator::Util qw(is_lvalue);
11
12 # ...
13 if (is_lvalue($ast)){
14 # $ast represents an lvalue, at the moment just a variable
15 }
16
18 This is package with common functions used in the different modules in
19 the Math::Expression::Evaluator distribution.
20
21 is_lvalue
22 "is_lvalue($ast)" checks if (a simplified version of) $ast
23 represents something that can be assigned to, i.e. is a variable.
24
25
26
27perl v5.30.1 2020-01-3M0ath::Expression::Evaluator::Util(3)