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

You opened PASSFAIL for output. If you want to read from it, you must open it for reading. Do so after invoking system(), or the file will not yet exist, and the open will fail. As others have noted, it's always wise to check the results of open() and log an error message if it fails.

  • Comment on Re: "Use of uninitialized value" even though the value is defined

Replies are listed 'Best First'.
Re^2: "Use of uninitialized value" even though the value is defined
by mandrake00 (Initiate) on Apr 01, 2011 at 11:23 UTC
    Thank You! This really works! :)