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 ;)


**********************************************************
This message contains information that is confidential
and proprietary to FedEx Freight or its affiliates.
It is intended only for the recipient named and for
the express purpose(s) described therein.
Any other use is prohibited.
****************************************************************


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

Reply via email to