title: How can I partition a Perl array into equal sized chunks?
body: <p>I have a fixed-sized array where the size of the array is always in factor of 3.</p>
  
  <pre><code>my @array = ('foo', 'bar', 'qux', 'foo1', 'bar', 'qux2', 3, 4, 5);
  </code></pre>
  
  <p>How can I cluster the member of array such that we can get
  an array of array group by 3:</p>
  
  <pre><code>$VAR = [ ['foo','bar','qux'],
           ['foo1','bar','qux2'],
           [3, 4, 5] ];
  </code></pre>