title: How to substring a string with several position with Perl?
body: <p>I have several places where I want to cut my string in several parts.<br>
  For example:  </p>
  
  <pre><code>$string= "AACCAAGTAA";
  @cut_places= {0,4, 8 };
  </code></pre>
  
  <p>My <code>$string</code> should look like this: <code>AACC AAGT AA;</code><br>
  How can I do that?</p>