Help for this page

Select Code to Download


  1. or download this
    A     B
          C
    D
       E
    
  2. or download this
    A\tB
    \tC
    D\t
       E\t
    
  3. or download this
    # first remove tabs from data and sub in 4 spaces
    $_ = s/\t/    /g for @cols
    my $row = join "\t", @cols;
    print SOMEFILE $row, "\n";
    
  4. or download this
    @cols = ( "foo", "\t", "bar" );
    print "original '@cols' ", scalar @cols, "\n";
    ...
    original 'foo      bar' 3
    row      'foo    <%tab%>    bar'
    retreive 'foo      bar' 3