title: What does the `->` syntax mean in Perl?
body: <pre><code>chdir($g_var-&gt;{g_loc});
  </code></pre>
  
  <p>I found this line in some perl code I am working with and I could not figure out what the <code>-&gt;</code> means. I mean I cant find the meaning of the syntax. By the way, g_loc is the name of a folder. What am i missing here ?</p>
  
  <p>P.S. i am only 4 days <em>into</em> perl.</p>