in reply to Re: How to handel sqlplus error in perl script.
in thread How to handel sqlplus error in perl script.
Thanks all for your inputs.. I have installed IPC::Run on my machine... I have googled but not able to find exactly how to run it. I am running below command
\open (WFH1, ">", "${basePath}/QueryResult4.txt"); run('$SQLPLUS \@${basePath}/VoucherQuery4.sql $startdate', '>', \\WFH1 +); close(WH1);
instead of the existing
`$SQLPLUS \@${basePath}/VoucherQuery4.sql $startdate> ${basePath}/QueryResult4.txt`but receiving error
Global symbol "$WFH1" requires explicit package name at VoucherStateC +hange.pl_other2 line 47. Global symbol "$WFH1" requires explicit package name at VoucherStateCh +ange.pl_other2 line 48. Execution of VoucherStateChange.pl_other2 aborted due to compilation e +rrors.
Feeling myself clueless...Could you please help me here or provide any good documentation on this module? thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: How to handel sqlplus error in perl script.
by Anonymous Monk on Dec 24, 2014 at 06:43 UTC | |
by Ankur_kuls (Sexton) on Dec 24, 2014 at 07:41 UTC | |
by poj (Abbot) on Dec 26, 2014 at 11:46 UTC |