title: How can I print only certain fields in a space separated file?
body: <p>I have a file containing the following content 1000 line in the following format:</p>
  
  <pre>abc def ghi gkl</pre>
  
  <p>How can I write a Perl script to print only the first and the third fields?</p>
  
  <pre>abc ghi</pre>