in reply to Re: Eating RAM problem
in thread Eating RAM problem
Chromatic, I need to get each element into an array. If the file size is 2 million bytes, then the array should have 2 million elements. How can I do that without draining RAM? Using your sub I get:
Thanks@blah = by_string($file); $i = 0; foreach(@blah){ $i ++; } print $i; # Prints 1... not what I am looking for
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Eating RAM problem
by rsteinke (Scribe) on Aug 01, 2002 at 18:50 UTC | |
Re: Re: Re: Eating RAM problem
by I0 (Priest) on Aug 02, 2002 at 07:03 UTC |
In Section
Seekers of Perl Wisdom