On Thu, Aug 02, 2001 at 09:20:43AM -0700, Paul wrote:
> print <IN>;
>
> If IN is accessing a large file, does the second syntax try to slurp
> the whole thing into memory before printing it? Or is there some
> internal optimization that doles it through in bufferloads?
AFAIK, print <IN> is not special-cased to read chunk by chunk. In fact,
it's more ineffecient than simply slurping the entire file in and then
printing it. The syntax is equivalent to:
print join($", <IN>);
Michael
--
Administrator www.shoebox.net
Programmer, System Administrator www.gallanttech.com
--
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]