title: Capture first 8 characters Perl
body: <p>How could I take 8 characters of a string, for example:</p>
  
  <p>If I has like this:</p>
  
  <pre><code>my $word ="take first 8 characters";
  </code></pre>
  
  <p>How could I print this: <code>take fir</code>?</p>