in reply to Re^2: LOG FILE HELP IN PERL
in thread LOG FILE HELP IN PERL

Start adding more print statements sooner in your code (Tip #2 from the Basic debugging checklist).

Replies are listed 'Best First'.
Re^4: LOG FILE HELP IN PERL
by Anonymous Monk on Jan 19, 2011 at 18:38 UTC

    I added print statements to print the uid, md5,filename, error. It is printing UID but not the rest.

      Are you sure that it is reading the input file that you think it is reading? Absolutely positive?

      If that is guaranteed, are you sure you are running the script that you think you are running? Absolutely positive?

        I made sure it is printing the input files it has to read followed by the uid but not the md5, filename, error

        Output: /usr/mlm/qa/logs/hhl/BATCH0006/2541027R/2541027R_checksum.log 2541027R /usr/mlm/qa/logs/hhl/BATCH0007/2541047R/2541047R_checksum.log 2541047R