On Tue, Jul 10, 2001 at 01:35:05PM +0100, John Edwards wrote:
> open ( FWLOG, "./logfile.010626");
>
> while() { # Reads one line at a time into memory
> ...
> }
>
> @data = ; # Reads the whole file into memory
>
> You are replicating the second case, by reading the file a line at a time,
> the
IIRC
open ( FWLOG, "./logfile.010626");
while() { # Reads one line at a time into memory
...
}
@data = ; # Reads the whole file into memory
You are replicating the second case, by reading the file a line at a time,
then splitting into an array, you are creating a massive array which will be
me