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

pope has asked for the wisdom of the Perl Monks concerning the following question:

Hi all,
$a = 2; *b = \$a; # $b is an alias for $a
Now I have a package variable %w, and I want to make $w{foo} an alias for $a. How to do that?