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

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";

Replies are listed 'Best First'.
Re^5: reading from a huge file
by SuicideJunkie (Vicar) on Mar 21, 2011 at 19:57 UTC

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