[html-formfu] [patch] Change eval tests to use ref for big speed up in _Group.pm

Ronald J Kimball rkimball+formfu at pangeamedia.com
Wed Dec 2 20:14:02 GMT 2009


Steve Nolte wrote:
> 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?

I would suggest using Scalar::Util's reftype().

Ronald



More information about the HTML-FormFu mailing list