Help for this page
a + b.c - 1.3 * 2 + 3
@tree = qw(a + b.c - 1.3 * 2 + 3);
%found = ('+' => 85, '-' => 85, '*' => 90)
['*', ['+', 'a', ['-', 'b.c', 1.3]], ['+', 2, 3]]
=head1 VARIABLE PARSE TREE ... [% USE cet = CGI::Ex::Template %] [%~ cet.dump_parse('foo.bar + 2').replace('\s+', ' ') %]
$OPERATORS = [ # type precedence symbols action (undef means pl +ay_operator will handle) ... ['infix', 45, ['and', 'AND'], undef + ], ['infix', 40, ['or', 'OR'], undef + ], ];
www.com | www.net | www.org
No recent polls found