Re: huge file : parsing problem
- From: usenet@xxxxxxxxxxxxxxx
- Date: 29 Mar 2006 11:32:26 -0800
Saurabh Singhvi wrote:
pardon me for my negligence in calling it the traditional method ;).
I just meant traditional in my history :p.
'for' (or 'foreach') slurps the whole file before processing it, which
is why you were having problems.
Use 'while' for input, and 'for' (or 'foreach') for everything else and
happiness will be yours!
--
http://DavidFilmer.com
.
- References:
- huge file : parsing problem
- From: Saurabh Singhvi
- Re: huge file : parsing problem
- From: Saurabh Singhvi
- huge file : parsing problem
- Prev by Date: Re: Whimsical Question
- Next by Date: RE: How to change properties of IE 6.0
- Previous by thread: Re: huge file : parsing problem
- Next by thread: Parsing out chunks of .xml from a binary file
- Index(es):
Relevant Pages
|
|