in reply to Re: EOF problem with sqlplus on Windows
in thread EOF problem with sqlplus on Windows
Maybe you intended to have the HERE document being interpreted by the shell, but this doesn't work either, because passing a multi-line string to qx does not cause the shell to execute a multi-line script.Couldn't bother to try?
qx doesn't filter out newlines, and the shell is smart enough to know how to deal with newlines.$ export PS2=""; perl -E '$x = `cat <<FOO hello world FOO`; print uc $x' HELLO WORLD $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: EOF problem with sqlplus on Windows
by rovf (Priest) on Mar 22, 2012 at 14:27 UTC | |
|
Re^3: EOF problem with sqlplus on Windows
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 |