in reply to detecting code referece

Look at ref.

Replies are listed 'Best First'.
Re^2: detecting code referece
by dragonchild (Archbishop) on Dec 17, 2007 at 14:51 UTC
    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?