http://www.perlmonks.org?node_id=1053202


in reply to How to get the name from a reference

Related module

Data::Dumper::Names - Dump variables with names (no source filter) using PadWalker

Sub::Information , what chromatic was talking about