in reply to
Re: Re: Flag variables
in thread Flag variables
Wow! KPeter0314 bows to a Saint
Looked at this for a couple moments before it really hit me what was happening. I use hashes regularly in my code but never quite like this. Brilliant and slick. I expect a hash lookup is going to be quite efficient. Especially since this turns the problem on its ear and does a hash lookup of the value to a small result set.
Using the hash reference to return the sub name that you end up executing is my favorite part. (now isn't that a sentence)