in reply to Getting around nested conditionals

How about a short sample? For almost absolutly sure there is a better way to do it, but in this case a whole lot of prose is not as clear as a few lines of code. Remember that you are describing this to people who do not know your problem domain and don't know what your current code looks like.

Update: a sample matrix would help:)


DWIM is Perl's answer to Gödel