Ref::Util introduces several functions to help identify references in a faster and smarter way. WWW: https://metacpan.org/release/Ref-Util