${'var1'} gives the same results as $var1.
In reply to Re: construct variable name on the fly by TedPride in thread construct variable name on the fly by aquarium