in reply to Re: scanning hash
in thread scanning hash

Very nice. But assumes that all values are true. It would be fairly easy to make it work with 0 or "" values, but not so easy to make it work with undef.