in reply to Re: detecting code referece
in thread detecting code referece

Scalar::Util's reftype is safer because it avoids the case where the object is blessed into the class 'CODE'.

My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?