$my_sql="select sysdate from dual"; my $request="echo $my_sql\|sqlplus system/password"; $result=qx($request);