in reply to Re: "Use of uninitialized value" even though the value is defined
in thread "Use of uninitialized value" even though the value is defined

Thanks. Still @fp0 =<PASSFAIL> does not seem to accept the content of PASSFAIL. Any idea why?
  • Comment on Re^2: "Use of uninitialized value" even though the value is defined

Replies are listed 'Best First'.
Re^3: "Use of uninitialized value" even though the value is defined
by jwkrahn (Abbot) on Apr 01, 2011 at 11:04 UTC
    open(PASSFAIL,">>./instLvsOut/passfail.tmp")

    Because you are opening the file for output only and you can't read from that filehandle.

Re^3: "Use of uninitialized value" even though the value is defined
by mandrake00 (Initiate) on Apr 01, 2011 at 10:24 UTC
    To check whether the passfail.tmp file is empty, I tried the command system("cat ./instLvsOut/passfail.tmp"); just before the line @fp0 =<PASSFAIL>. It displayed the content of the file properly. It was not empty. Any idea why this code does not accept values in @fp0 =<PASSFAIL>