> Dan Muey wrote:
> > Howdt list.
> > 
> > I've never had to work with really big files before( I'm 
> used to tiny 
> > ones you can slurp in at once) and now I have to process a 
> 180MB text 
> > file line by line and was wondering the most efficient method to do
> > so form within a script not via coommand line.   
> > 
> > Would I just do
> >  open(FH ...) or die $!;
> > 
> >     while(<FH>)) { process line }
> > 
> >  close(FH);
> > 
> > Or is there a better way?
> > 
> > TIA
> > 
> > Dan
> 
>       That is it. I don't do 180mb but do process 100k lines 
> and with all I do with the loop, it still only takes 4 to 5 
> seconds to do all that processing. Now with 180 MB, it will 
> be longer, but as along as you do only what you need, it 
> should be no problem.
> 
> Wags ;)
> 
Thanks!

I'm glad to know I was thinking about hat right.
I didn't really want to read the whole file into an array and process the array!!!


Thanks again

Dan

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to