in reply to
detecting code referece
Look at
ref
.
Comment on
Re: detecting code referece
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:
Does it work?
Can someone else come in, make a change, and be reasonably certain no bugs were introduced?
[reply]
In Section
Seekers of Perl Wisdom