in reply to Parsing large files
If that is the problem then I know of 2 solutions. One is to compile Perl with support for large files. The other is to change your open line to something like:
(I'm assuming that you are on an OS with cat installed, and that cat has support for large files.)if(open(READ, "cat $file |")){
If you don't replace Perl, then you'll need a similar trick to write large files, because Perl will again get confused around the 2 GB mark.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Parsing large files
by Grundle (Scribe) on Apr 10, 2005 at 20:59 UTC | |
by Joost (Canon) on Apr 10, 2005 at 21:07 UTC | |
by tilly (Archbishop) on Apr 10, 2005 at 21:16 UTC |