On Mon, Nov 28, 2005 at 12:12:16PM +0100, Wieland Pusch wrote:
> Hello Uthayakumar,
> 
> I guess the oracle client libraries change the $SIG{CHLD} handler.

While the oracle client libraries do do that, the mysql client librarary
(being used here) doesn't - as far as I know.

Tim.

> Wednesday, November 23, 2005, 8:59:51 AM, you wrote:
> UP> I am using DBI module in my perl script. And also i am using the grep
> UP> utility along with awk. This utility works fine when we are not initialize
> UP> the DB connection. If we initialize the DBI connection it throws the error
> UP> "grep: writing output: Broken pipe"
> 
> $dbh=DBI->>connect("DBI:mysql:dbname","dbuser","dbpwd"); ### if we comment
> UP> this line, works fine; uncomment this line, gives error "grep: writing
> UP> output: Broken pipe"
> 
> UP> open(FH,"grep -Z '' *.gz | awk 'BEGIN {flag=0;}{if(\$1~/$uid/){print
> UP> '\$1';flag=1;}else {if(flag==1){exit;}}}'|");
> UP> while(<FH>) {
> UP>  print $_."\n";
> UP> }
> 
> cu
>  Wieland Pusch                      mailto:[EMAIL PROTECTED]
> 

Reply via email to