Help for this page

Select Code to Download


  1. or download this
    my %keys = (
        a=>1,
    ...
    
    # note that entry 0 is where the unmatched elements wind up...
    print map{ "@{ $final[$_] }\n" } grep defined $final[$_],1..$#final;
    
  2. or download this
    foreach(@records)
    {
        my @flds=split /\|/;
        push @{$final[$keys{$flds[3]}||0]},$_;
    }