in reply to Re^3: Perl output is not inducing file download as expected
in thread Perl output is not inducing file download as expected
Regarding the buffering, my understanding is that it is only to prevent having to slurp the entire file into memory
Yes, that's correct. And since the network protocol stack is unlikely to be able to stuff a large file into a single network packet anyway, it makes no sense to read the entire file into RAM at once.
|
---|