title: Print fixed number of characters per line in perl
body: <p>Suppose I have a string of length 160 characters and I want to print it out to a file with 30 characters per line (so the 5 first line in the output will have 30 characters and the last line will have 10 characters).</p>
  
  <p>Is there a straight forward perl command for that?</p>