title: Using Perl, how can I replace all whitespace in a file with newlines?
body: <p>For example text file:</p>
  
  <pre>
      Speak friend and enter
  </pre>
  
  <p>using a Perl script to remove whitespace and replace with carriage-return</p>
  
  <pre>
      Speak
      friend 
      and
      enter
  </pre>