See also: perlsyn.
Somtimes use warnings is helpful here.
In reply to Re: Expanding a variable by moritz in thread Expanding a variable by PerlScholar