theophanie77 has asked for the wisdom of the Perl Monks concerning the following question:
The following command works :$retour_nodbd = qx { sqlplus -s system/password\@MYBASE <<EOF select sysdate from dual; exit; EOF };
It works also for :$retour_nodbd=`tnsping MYBASE`;
The problem seems to come from the "<<" characters. How can I solve it ? Thanks Jean-michel, Nemours, FRANCE$retour_nodbd=`sqlplus system\/password\@MYBASE \@my_sql`;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: EOF problem with sqlplus on Windows
by Corion (Patriarch) on Mar 22, 2012 at 09:09 UTC | |
|
Re: EOF problem with sqlplus on Windows
by rovf (Priest) on Mar 22, 2012 at 09:19 UTC | |
by choroba (Cardinal) on Mar 22, 2012 at 11:28 UTC | |
by JavaFan (Canon) on Mar 22, 2012 at 11:31 UTC | |
by rovf (Priest) on Mar 22, 2012 at 14:27 UTC | |
by theophanie77 (Novice) on Mar 23, 2012 at 15:22 UTC | |
by JavaFan (Canon) on Mar 23, 2012 at 15:44 UTC | |
by choroba (Cardinal) on Mar 23, 2012 at 15:26 UTC | |
by theophanie77 (Novice) on Mar 23, 2012 at 15:48 UTC | |
|
Re: EOF problem with sqlplus on Windows
by kcott (Archbishop) on Mar 22, 2012 at 09:15 UTC |