in reply to Re: Using overload to parse arithmetic terms
in thread Using overload to parse arithmetic terms
well i, did that:
so, i'm able to build a expression that uses +, - and * . Now, i want to be able to detect when the user uses parenthesis as shown above. I know that overload does not support parenthesis, but i hope that somebody has a idea how i can detect those parenthesis.use overload '+' => \&add, '-' => \&sub, '*' => \&mul;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Using overload to parse arithmetic terms
by Tomte (Priest) on Feb 07, 2006 at 12:57 UTC |
In Section
Seekers of Perl Wisdom