Saturday, 15 September 2012

conditional - How can I evaluate chained expressions from a string, in Perl? -


I'm not sure what to call these types of expressions, so an example would be easy ...

There is no way in Perl to evaluate expressions such as a & lt; B & lt; = C ? I have a configuration file that allows the user to provide conditional expression for some tasks. Instead of dividing the condition into two halves (as I usually used in the code), I would like to display it in such a way, if possible.

It's coming in Pearl 6, to make sure but unfortunately, I do not think it's perl One of the things borrowed by 6 is.


No comments:

Post a Comment