in reply to Module for Conditional Parsing

I think you need to elaborate a bit more what you want to achieve. If you want to test a single value against a number of possible allowed values and a number of disallowed values, then writing a subroutine for exactly that purpose would be simpler (providing the lists of allowed and disallowed values). When testing against values, AND is not useful as a variable can only have one value.

Or if you want something more complex, please provide a more elaborate example. Like testing the values of several keys, more complex tests etc.

Replies are listed 'Best First'.
Re^2: Module for Conditional Parsing
by mwb613 (Beadle) on Mar 30, 2015 at 16:38 UTC

    Thanks hdb,

    I provided a little more detail in response to "choroba" below. AND was included for exactly the use case you mentioned, testing multiple keys (in the response below I give an example of a single key being used as a composite so it can be tested against multiple conditionals). I understand the deconstruction of the composite key in itself will require a bit of logic but I have already written a fair amount of code that deals building and breaking apart the composite keys.

      It seems as if your response to choroba got lost...