RE: skipping a repeated header

2009-05-27 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Kirk Wythers [mailto:kwyth...@umn.edu] > Sent: Wednesday, May 27, 2009 10:16 > To: Wagner, David --- Senior Programmer Analyst --- CFS > Cc: beginners@perl.org > Subject: Re: skipping a repeated header > > Thanks David. I didn'

RE: skipping a repeated header

2009-05-27 Thread Wagner, David --- Senior Programmer Analyst --- CFS
> -Original Message- > From: Kirk Wythers [mailto:kwyth...@umn.edu] > Sent: Wednesday, May 27, 2009 09:31 > To: beginners@perl.org > Subject: skipping a repeated header > > I have a large datafile that I am trying to read into a postgresql > database. I thi

Re: skipping a repeated header

2009-05-27 Thread Jim Gibson
On 5/27/09 Wed May 27, 2009 9:15 AM, "Kirk Wythers" scribbled: > Thanks David. I didn't include my attempts because the postgresql > stuff took up so many lines. I have snippet out the data read part > (including your suggestion) and pated below. As you can see I also, > sent a number of variab

Re: skipping a repeated header

2009-05-27 Thread Kirk Wythers
t_Avg2, $S_RXResponse, $Wind_RXResponse, $I_WS_MS ), "\n"; } __END__ On May 27, 2009, at 10:42 AM, Wagner, David --- Senior Programmer Analyst --- CFS wrote: -Original Message- From: Kirk Wythers [mailto:kwyth...@umn.edu] Sent: Wednesday, May 27, 2009 09:31 To: beginne

Re: skipping a repeated header

2009-05-27 Thread Chas. Owens
On Wed, May 27, 2009 at 11:30, Kirk Wythers wrote: > I have a large datafile that I am trying to read into a postgresql database. > I think I have the db_connect stuff down, but I'm fighting with the part > that reads the file to be processed. The file contains a repeating structure > of header li

Re: skipping a repeated header

2009-05-27 Thread smu
hey, On Wed, May 27, 2009 at 10:30:37AM -0500, Kirk Wythers wrote: > [...] > > I want to read in the lines that begin with the date format, but skip > all the header stuff. Can anyone suggest a strategy for a, "if the line > begins with , go ahead and read". > > Thanks in advance. like thi

skipping a repeated header

2009-05-27 Thread Kirk Wythers
I have a large datafile that I am trying to read into a postgresql database. I think I have the db_connect stuff down, but I'm fighting with the part that reads the file to be processed. The file contains a repeating structure of header lines like this: TOA5B4WARM_CCR1000 16474