title: How do I use symbolic references in Perl?
body: <p>In Perl, if a variable holds the name for another variable, how do I use the first variable to visit the other one?</p>
  
  <p>For example, let</p>
  
  <pre><code>$name = "bob";
  @bob = ("jerk", "perlfan");
  </code></pre>
  
  <p>how should I use $name to get to know what kind of person bob is?
  Although I'm not quite sure, my vague memory tells me it might related to typeglob.</p>