title: How can I split a string into only two parts with Perl?
body: <p>I have a string that with several parts separated by tabs:</p>
  
  <pre><code> Hello\t2009-08-08\t1\t2009-08-09\t5\t2009-08-11\t15
  </code></pre>
  
  <p>I want to split it up only on the first tab, so that "Hello" ends up in <code>$k</code> and and rest ends up in <code>$v</code>. This doesn't quite work: </p>
  
  <pre><code>my ($k, $v) = split(/\t/, $string);
  </code></pre>
  
  <p>How can I do that?</p>