in reply to Parsing a 3 - 4 gig text file

It would help to know what the error is on the open. Check for that, and print a message if it fails, like so:

open(IN, "<$in_file") or die "Can't open $in_file: $!\n";
Clearly the file isn't open by the time you try to read it, so start by figuring that one out first.

Replies are listed 'Best First'.
Re: Re: Parsing a 3 - 4 gig text file
by Anonymous Monk on May 14, 2002 at 19:43 UTC
    The error is: File too large at: $lineNumber
      That's a sign that you have a perl that's not built with large file support. You'll need to rebuild your perl to access that file, or play games with pipes and cat and suchlike things.