in reply to Re^3: combining 2 files with 4 columns need help
in thread combining 2 files with 4 columns need help

you are right it has a primary key in only 1 file, this will occur potentially in either file. one date is order date the other is release date..can it be taken into account?

thanks so much

  • Comment on Re^4: combining 2 files with 4 columns need help

Replies are listed 'Best First'.
Re^5: combining 2 files with 4 columns need help
by poj (Abbot) on May 29, 2013 at 19:39 UTC
    Yes OK, try
    my @dates = (defined $hash{$pk}[1]) ? @{$hash{$pk}[1]} : (); my @rdates = (defined $hash{$pk}[2]) ? @{$hash{$pk}[2]} : ();
    poj

      That worked great!!! You are a life safer. Thanks so much - rruser