Hmmm, would the tests be more reliable using UNIVERSAL::isa($item, 'HASH') instead of ref()? I'm now wondering after reading this post: http://www.perlmonks.org/?node_id=32148 Thoughts? Is this necessary? -Steve