Help understanding how the brackets are used... Rookie Question
<p>I understand what the following line does but i don't understand how the brackets are used? I have always used brackets in an if, while and other statements but i have never used them in this fashion. </p>

<p>Are there rules to using them this way, should i not use them in this way? Any help would be appreciated... Thanks</p>

<pre><code>${$key} = $temp;
</code></pre>
