RE: techniques for handling large text files

2003-12-29 Thread Bakken, Luke
> How's abouts this (pls excuse any syntax errs) . > > my $out1 = "$file1.txt"; > my $out2 = "$file2.txt"; > > open(INPUT, $filename) or die "error: $filename cannot be opened\n"; > open(OUT1, ">$out1") or die "error: $out1 cannot be opened > for writing\n"; > open(OUT2, ">$out2") or die "er

Re: techniques for handling large text files

2003-12-29 Thread James Edward Gray II
On Dec 29, 2003, at 12:05 AM, danl001 wrote: Hi, Howdy. If this question would be better posted to another perl list, please let me know. I think you found the right place. I have a very large text files (~2 GB) and it's in the following format: header line header line header line marker 1 he

Re: techniques for handling large text files

2003-12-29 Thread Andy Unick
How's abouts this (pls excuse any syntax errs) . my $out1 = "$file1.txt"; my $out2 = "$file2.txt"; open(INPUT, $filename) or die "error: $filename cannot be opened\n"; open(OUT1, ">$out1") or die "error: $out1 cannot be opened for writing\n"; open(OUT2, ">$out2") or die "error: $out2 cannot b

Re: techniques for handling large text files

2003-12-28 Thread Randy W. Sims
On 12/29/2003 1:06 AM, danl001 wrote: Hi, If this question would be better posted to another perl list, please let me know. I have a very large text files (~2 GB) and it's in the following format: header line header line header line marker 1 header line header line header line marker 2 line typ

RE: techniques for handling large text files

2003-12-28 Thread Tom Kinzer
ut at me for I/O. Have you tried benchmark on it? -Tom Kinzer -Original Message- From: danl001 [mailto:[EMAIL PROTECTED] Sent: Sunday, December 28, 2003 10:06 PM To: [EMAIL PROTECTED] Subject: techniques for handling large text files Hi, If this question would be better posted to an

techniques for handling large text files

2003-12-28 Thread danl001
Hi, If this question would be better posted to another perl list, please let me know. I have a very large text files (~2 GB) and it's in the following format: header line header line header line marker 1 header line header line header line marker 2 line type 1 line type 1 line type 1 ... line t

techniques for handling large text files

2003-12-28 Thread danl001
Hi, If this question would be better posted to another perl list, please let me know. I have a very large text files (~2 GB) and it's in the following format: header line header line header line marker 1 header line header line header line marker 2 line type 1 line type 1 line type 1 ... line t