in reply to Re^3: Evaluate arbitrary boolean expressions
in thread Evaluate arbitrary boolean expressions
OK, that's great but how can I contruct the variable $bool on the fly?
In general I will have a function that will return values 0 and 1. I can then combine these with operators || and &&. However if I write all this to a string variable $bool the test does not work properly!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Evaluate arbitrary boolean expressions
by hippo (Archbishop) on Mar 13, 2018 at 11:54 UTC | |
|
Re^5: Evaluate arbitrary boolean expressions
by Corion (Patriarch) on Mar 13, 2018 at 11:44 UTC |