in reply to Re^2: Chunking very large files
in thread Chunking very large files
Should be as simple as:
my $sizeRead = $chunkSize; while ($sizeRead == $chunkSize) { $sizeRead = read $in_fh, $buffer, $size; die "Error reading: $!\n" unless defined $sizeRead; ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Chunking very large files
by hiptoss (Novice) on Nov 09, 2011 at 20:13 UTC | |
by SuicideJunkie (Vicar) on Nov 09, 2011 at 20:19 UTC |