Help for this page

Select Code to Download


  1. or download this
    File 1:
    one
    ...
    B
    C
    D
    
  2. or download this
    one[tab]A
    two[tab]B
    three[tab]C
    four[tab]D
    
  3. or download this
    while (my $col1 = <FILE1>) {
        chomp $col1;
        my $col2 = <FILE2>;
        print "$col1\t$col2";
    }
    
  4. or download this
    until(eof(ONE) and eof (TWO)) 
    {
    ...
        chomp($two);
        print "$one\t$two\n";
    }