Perl help: open a very large file# Unix - 噫吁兮,危乎高哉
t*s
1 楼
My script tries to open a very large file, 3GB in size and fails with an error
like:
a slow, suffocating death: Value too large for defined data type at
../scripts/invcsplit.pl line 156.
Part of the script is:
open (INFILE, "open (OUTFILE,">".$segment.$filename);
while ()
{
$line=$_;
....
Any suggestion would be really appreciated. Thank you!
like:
a slow, suffocating death: Value too large for defined data type at
../scripts/invcsplit.pl line 156.
Part of the script is:
open (INFILE, "open (OUTFILE,">".$segment.$filename);
while (
{
$line=$_;
....
Any suggestion would be really appreciated. Thank you!