Eating memory

Nicola Worthington nicolaw at arwen.tfb.net
Tue May 23 12:57:30 BST 2006


>
> foreach (<INFILE>) {

Surely this is reading the entire file in to memory as an array? Wouldn't

while (<INFILE)>) {

be more appropriate?

> }
>



More information about the london.pm mailing list