Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Perl - Newbie question
Jerome Vitalis wrote:
> On Wed, 07 Jun 2006 17:40:43 +0000, Mladen Gogala wrote:
>
>
>> Of course, you can try with >> >> open FH,"|sqlplus login/password"; >> print "select * from all_objects;\n";
You're correct. I apologize for the inconsistency. Of course, one should print to the handle just opened.
>
> And if the OP wants to process the output (just a guess), he'd better use
> IPC:Open2 instead of open().
Personally, I prefer IPC::Cmd, but he's complaining about the complexity of DBI. Let's not go overboard.
-- Mladen Gogala http://www.mgogala.comReceived on Thu Jun 08 2006 - 11:09:40 CDT