in reply to Re^2: reading from a huge file
in thread reading from a huge file

Thanks, that's helpful. Perl wasn't even on this server when this all started, so I've no idea what the systems guys even put on it. As I said in the original message, I don't actually have access to the box myself, which is frustrating matters.

For what it's worth, the error that the person running the script reported to me in email was: Unable to open input file UDB_sessions01252011

That leads me to believe that the code is failing at this point:

## Open input file open(INFILE, "$infile") || die "unable to open input file $infile\n";
The code as written is pretty darn elementary. I am assuming that my user got the name of the file she was trying to use correct, though I could double check that.

Replies are listed 'Best First'.
Re^4: reading from a huge file
by Anonymous Monk on Mar 21, 2011 at 19:51 UTC

    Why would you not print the error message? (also, 3-arg open, lexical handle, yadda, etc)

    open my $fileHandle, '<', $infile or die "Unable to open $infile for read: $!\n";

      $! could be quite interesting to know. For all we know the OP's script may just not have permission to read the file.