|P is for Practical|
Re^4: How can you sysread an entire file?by BrowserUk (Pope)
|on Jan 13, 2006 at 23:15 UTC||Need Help??|
I think I made an interesting discovery. As you suggest above, if I do this it only makes one copy of the file in memory:
And if I do it this way it uses two copies:
But what fooled me, as I was using my perl shell, is that if you eval the statement, only one copy is made:
And I can't quite figure out why that should be so?
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.