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 $
In reply to Re^2: EOF problem with sqlplus on Windows
by JavaFan
in thread EOF problem with sqlplus on Windows
by theophanie77
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |