Jason0x21 has asked for the wisdom of the Perl Monks concerning the following question:
eval `script_to_setup_environment`
Report -raw -view fileView -where " \
fileView.Attr1 in ('eggs') and \
fileView.Attr2 in ('yes') and \
fileView.Attr3 in ('blue') \
" |
...with the pipe going to something else. Now I'm trying
to place this script in a "here-document", and
having a terrible time with all the double-quotes, single-quotes,
newlines, and parentheses, especially since I have to be
able to change the values in the single quotes inside the
parentheses. Any ideas out there? I'm wearing out my
backslash key to no avail. I'd love to do it all inside
the perl script if it's possible.
Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Save Me from quoting hell?
by lhoward (Vicar) on May 15, 2000 at 19:26 UTC | |
|
Re: Save Me from quoting hell?
by zodiac (Beadle) on May 15, 2000 at 20:33 UTC |