in reply to Re^2: compare csv files only to first fullstop character
in thread compare csv files only to first fullstop character

Initialize $INFILE before calling loadMasters();

my $INFILE = ("c:\\Temp\\server.csv"); my %masters = loadMasters();
poj

Replies are listed 'Best First'.
Re^4: compare csv files only to first fullstop character
by john.tm (Scribe) on May 10, 2014 at 17:20 UTC
    you are quite right, i have been changing the data in the files and testing for all eventualities and left 4 columns in the master file blank. which leads to a question , where and what code could i add to turn off printf warnings as blanks cells in the input will often happen. { no warnings 'uninitialized'; }
      Try replacing
      $_ ||= '-- missing --' for $status, $ticket, $resolution;

      with

      $_ ||= '-- missing --' for $type, $reason, $status, $ticket, $resoluti +on;
      poj