Hmm, I had something like this in mind, but dismissed is as wrong. It seems that in perl, there's always a more elegant way to accomplish something. I'll try it and report back.