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

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re^3: compare csv files only to first fullstop character
by poj (Abbot) on May 10, 2014 at 07:16 UTC

    Initialize $INFILE before calling loadMasters();

    my $INFILE = ("c:\\Temp\\server.csv"); my %masters = loadMasters();
    poj
      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