in reply to Re^8: local() for scalar file slurping
in thread local() for scalar file slurping

Your quite right, I got muddled thinking about the records coming back and being passed up, but the whole point of the OP was to put the entire file into a scalar. Lists, lazy or otherwise, have nothing to do with it.

Let's see if I've managed to get this through my somewhat thickening skull. (And to move down a level of abstratction).

At least that's the way it's supposed to work, so the additional memory usage observed by Grandfather shouldn't happen.

Let me know if I've gotten this significantly wrong. (And thanks for the corrections, and your patientce when I got lost.)