Pablo Fischer wrote at Tue, 05 Aug 2003 15:43:19 +0000: > Reading all these message about reading a 'big' file (I know that 180MB its > not a big file), but what's the difference from reading like this: > > @file = <FILE>;
That reads all lines of a file into the @file array. That means, at least all the amount of the file size is now needed in RAM. > foreach (@file) { > print $_; > } > > and with a While? With a while loop, the program reads line by line, thus only about the line length size is allocated by the program in RAM. Greetings, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]