Large Insert statements

2002-05-16 Thread Kevin O
Hello all, I need to insert a lot of data into a mysql table. Know that I can do it like this example: my $sth = $dbh->prepare(q{ INSERT INTO sales (product_code, qty, price) VALUES (?, ?, ?) }) or die $dbh->errstr; while (<>) { chomp; my ($product_code, $qty, $price) =

Multithreading? Two pipes processed at the same time

2002-05-14 Thread Kevin O
Hello all, I posted a question the other day wanting to write 2 pipes to the same file. While I cannot do that, I'd like to do something else. I have 2 pipes with streaming data and I need them written to different files at the same time. I have this: open(PIPE1, "streaming stuff"); op