Help for this page

Select Code to Download


  1. or download this
    my $nline = "\n";
    my $comma = ",";
    ...
         print OUTPUT $column[4],$comma,$column[5],$comma,$column[7],$comm
    +a,$column[8],$comma,$A,$comma,$B,$comma,$nline;
    
  2. or download this
    # $/ = "\n" # Input RS already defined
    $, = ",";
    ...
         print OUTPUT $column[4],$column[5],$column[7],$column[8],$A,$B;
         print $/; # or use 'say' as it was said.
    
  3. or download this
         print OUTPUT "$column[4],$column[5],$column[7],$column[8],$A,$B\n
    +";