gri6507 has asked for the wisdom of the Perl Monks concerning the following question:
This is my first time trying to parse a file which has lines that are apparently longer than what
open(FIL,$file); while(<FIL>){dosomething()}
can read in. In fact, some lines are just over 8kB in length and I am only reading in 512-1024 bytes (I'm guessing based on what I can see - I didn't actually count it). Is there some system variable which dictates a maximum for how much to glob at a time?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Reading a file with 8kB long lines
by samtregar (Abbot) on Jun 08, 2007 at 20:21 UTC | |
by gri6507 (Deacon) on Jun 08, 2007 at 21:12 UTC | |
by FunkyMonk (Bishop) on Jun 08, 2007 at 21:28 UTC | |
by BrowserUk (Patriarch) on Jun 08, 2007 at 21:40 UTC | |
by blazar (Canon) on Jun 09, 2007 at 15:51 UTC | |
|
Re: Reading a file with 8kB long lines
by BrowserUk (Patriarch) on Jun 08, 2007 at 21:04 UTC | |
|
Re: Reading a file with 8kB long lines
by FunkyMonk (Bishop) on Jun 08, 2007 at 20:19 UTC | |
|
Re: Reading a file with 8kB long lines
by bart (Canon) on Jun 09, 2007 at 06:30 UTC |