title: How do I tell what type of value is in a Perl variable?
body: <p>How do I tell what type of value is in a Perl variable?</p>
  
  <p><code>$x</code> might be a scalar, a ref to an array or a ref to a hash (or maybe other things).</p>