Help for this page

Select Code to Download


  1. or download this
    condition_file
    K    01
    J    02
    H    03
    I    04
    
  2. or download this
    open F, "$condition_file" or die "File not exists";
    while (<F>) {
    chomp;
    $records{$field1} = $field1;
    }
    
  3. or download this
    @array
    --------
    ...
    file-2
    file-3
    file-4
    
  4. or download this
    file-1
    -------
    ...
    K,11,Europe5,Sweden6,Mace3,rank16,check11,42234
    
  5. or download this
    foreach my $file_name (@array) {
    open FILE, "$file_name" or die "File not exists";
    ...
    {
    print OUTPUT ( ( join ",", $field1, $field2 ), "\n" );
    }}}}
    
  6. or download this
    output file
    -------------
    ...
    K,01,
    H,03,
    I,04,
    
  7. or download this
    output file
    -------------
    ...
    K,01,Europe1,Sweden4,Mace1,rank15,check1,12234
    H,03,German2,Ger,hgtk,rank4,hekc,1245
    I,04,Negria2,neg,ghsjk,rankk1,jusk,4562