Hello,
I tried it to use with sqplus username/passwd

after this I like to send some sql commands and get their results but
at some point system blocks and I don't get anything

$ph = open2 (\*Reader , \*Writer, "sqlplus xxx/yyy");

print Writer , "desc user_tables;\n";
while (<Reader>)
{
      print ;
}

.... (it hang somewhere here )
print Writer , "desc dba_tables;\n";
while (<Reader>)
{
      print ;
}







                                                                                       
                                                    
                      Sudarshan Raghavan                                               
                                                    
                      <[EMAIL PROTECTED]         To:      [EMAIL PROTECTED]            
                                                 
                      reless.com>                  cc:                                 
                                                    
                                                   Subject: Re: Bidirectional pipes    
                                                    
                      09/02/2003 11:21 AM                                              
                                                    
                                                                                       
                                                    
                                                                                       
                                                    




[EMAIL PROTECTED] wrote:

>Hi all,
>I wonder how can I open pipe to STDIN and STDOUT of a process ?
>

perldoc IPC::Open2

If you need a handle to STDERR
perldoc IPC::Open3

>
>Tnx.
>Mehmet
>
>
>
>
>


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]







-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to