title: Perl: syntax for using variables in quotes
body: <p>In a quote, how can you seperate variables from other text:</p>
  
  <p>Example, I want to print "YellowBrick":</p>
  
  <pre><code>my $var = 'Yellow';
  
  print "$varBrick";
  
  # $varBrick not defined!!
  </code></pre>
  
  <p>You can use:</p>
  
  <pre><code>print "@{[$var]}Brick"
  </code></pre>
  
  <p>What I don't understand is the syntax: are all 5 characeters (<code>@{[]}</code>) needed every time you escape one variable? Is there any significance of @ {} or the []'s? Is this making an array then a ref to an aarray or something? </p>
  
  <p>Basically my question is what other tricks can be done with the <code>@{[]}</code></p>
  
  <p>Thanks!</p>