title: What do @$ and $$ mean in Perl?
body: <p>OK, so two questions on odd syntax. I am working on some older Perl code that needs modification, and I came across the following line:</p>
  
  <pre><code>@$tmp=split(/,/,$tmpVals);
  </code></pre>
  
  <p>I have no idea how to read this, it looks like the RHS is splitting the variable string on ,      so that's fine, but it is the left hand side I am thrown by. What in the world is <code>@$</code>, as far as a I know it isn't a default variable. DOes anyone know its significance?</p>
  
  <p>And then there is <code>$$</code>, which I have read normally represent the Perl PID. However, in this case it comes right before a veriable/assignment statement. Does it have a related effect there? </p>
  
  <pre><code>$$tmp=$row[1];
  </code></pre>
  
  <p>Thanks in advance.</p>