What you are asking for is a very, very bad idea. It is
called a "symbolic ref" and you can do it very easily in
Perl, but you shouldn't. For details on how to do it, and
how to stop yourself from doing it by accident, see the
strict pragma. Also see perlref, which explains how to
do hard references, the much, much safer way to get the
job done.