title: I need to print it in a single line
body: <p>I'm writing a script in <code>perl wfor</code> which I'm using unix commands.I need to print the output of this commands in a single line in perl.</p>
  
  <pre><code>$table_name=`cat diff_out|cut -d "|" -f1`;
  $col_name=`cat diff_out|cut -d "|" -f2`;
  $index_name=`cat diff_out|cut -d "|" -f3`;
  print "$table_name |$col_name |$index_name |DROPPED|$col_name|$index_name";
  </code></pre>
  
  <p>I'm getting output one below the other. I want it in one line.</p>