Re: Weird problem with writing to PostgreSQL through DBI

2003-01-29 Thread Ben Siders
1a0' it works jsut fine. The field is just text. Why does one random string work and another fail? Subject: Weird problem with writing to PostgreSQL through DBI From: Ben Siders <[EMAIL PROTECTED]> Date: Wed, 29 Jan 2003 14:35:30 -0600 To: [EMAIL PROTEC

Weird problem with writing to PostgreSQL through DBI

2003-01-29 Thread Ben Siders
I am parsing some XML and trying to write the tags to a table. Here is the table (PostgreSQL): Column | Type | Modifiers ---+-+--- id| integer | ref_id| text| ref_table | text| tag | text| seq | integer | Here is the code where I

Re: weird problem

2002-09-18 Thread John W. Krahn
Ron Woodall wrote: > > Hi All: Hello, > This is a convoluted problem and I hope I can describe it properly. > > I have about 90 html pages. I am extracting a small amount of > information from each page and using that to create 90 more pages elsewhere > in the site. > >

weird problem

2002-09-18 Thread Ron Woodall
Hi All: This is a convoluted problem and I hope I can describe it properly. I have about 90 html pages. I am extracting a small amount of information from each page and using that to create 90 more pages elsewhere in the site. What is happening is that I'm getting t

Re: Weird problem with a regexp.

2002-09-17 Thread david
Steve wrote: > > > Oops, that if should be which is still giving me the error: > if ($line =~ /^(\d\d-\d\d-\d{4}\s+\d\d:\d\d:\d\d\.\d\d).+Session > oh, another problem is that if you are using: mm-dd- hh:mm:ss directly to Date::Manip's ParseDate() function, it won't work. if you have sa

Re: Weird problem with a regexp.

2002-09-17 Thread david
Steve wrote: > > > Oops, that if should be which is still giving me the error: > if ($line =~ /^(\d\d-\d\d-\d{4}\s+\d\d:\d\d:\d\d\.\d\d).+Session > i don't see why your expression won't work. prehaps it's something else that isn't working... david -- To unsubscribe, e-mail: [EMAIL PROTE

Re: Weird problem with a regexp.

2002-09-17 Thread Steve
At 12:54 PM 9/17/02 -0700, you wrote: >Steve wrote: > > > I have this snippet of code which works fine. $start_time has MM-DD- > > HH:MM:SS.MM which is what I want. > > > > # > > > > if ($line =~ /^(\d\d-\d\d-\d{4}\s+\d\d:\d\d:\d\d\.\d\d).+Connection > > Establ

Re: Weird problem with a regexp.

2002-09-17 Thread david
Steve wrote: > I have this snippet of code which works fine. $start_time has MM-DD- > HH:MM:SS.MM which is what I want. > > # > > if ($line =~ /^(\d\d-\d\d-\d{4}\s+\d\d:\d\d:\d\d\.\d\d).+Connection > Established.+(\d\d\d\d\d)/i) { > $start_time = $1

Weird problem with a regexp.

2002-09-17 Thread Steve
I have this snippet of code which works fine. $start_time has MM-DD- HH:MM:SS.MM which is what I want. # if ($line =~ /^(\d\d-\d\d-\d{4}\s+\d\d:\d\d:\d\d\.\d\d).+Connection Established.+(\d\d\d\d\d)/i) { $start_time = $1; printf ("Start Ti

weird problem with forking

2001-10-25 Thread Maxim Goncharov
Hi all, I ran into the problem with forking and I am not able to figure out what happens. Here is the code (let's call the program server): $pid = open(HHH,"|- "); if($pid){ print HHH "something\n"; }else{ exec "client" } Notice that I do not call close(HHH) because I want the parent just t