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 | |
by hdb (Monsignor) on Mar 30, 2015 at 17:37 UTC |