Help for this page

Select Code to Download


  1. or download this
    # if @ds1_rows is an AofA holding a dataset, then...
    for my $a ( @ds1_rows ) {
    ...
                        # and then, not using $aref... 
                        # instead, you are using $a again
                        my $record2 = "@$a";
    
  2. or download this
    #Simple solution for union and intersection
    foreach $e (@a) { $union{$e} = 1 }
    ...
    }
    @union = keys %union;
    @isect = keys %isect;