Sub::Identify allows you to retrieve the real name of code references. WWW: https://metacpan.org/release/Sub-Identify