kingkongrevenge has asked for the wisdom of the Perl Monks concerning the following question:
$cmd = "a_cmd -with a -lot of -arguments that" . "-spill over_eighty characters"; `$cmd`;
`a_cmd -with a -lot of -arguments that -spill over_eighty characters`;
# newline between "that" and "-spill" is stripped out # before "a_cmd" is run. The command string can be # split up to fit the screen. qx/a_cmd -with a -lot of -arguments that -spill over_eighty characters/x;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Building multiline qx// shell commands
by Trizor (Pilgrim) on Jul 15, 2007 at 02:15 UTC | |
by kingkongrevenge (Scribe) on Jul 15, 2007 at 03:11 UTC | |
|
Re: Building multiline qx// shell commands
by naikonta (Curate) on Jul 15, 2007 at 02:34 UTC | |
|
Re: Building multiline qx// shell commands
by merlyn (Sage) on Jul 15, 2007 at 20:18 UTC | |
|
Re: Building multiline qx// shell commands
by dewey (Pilgrim) on Jul 15, 2007 at 02:11 UTC | |
|
Re: Building multiline qx// shell commands
by ikegami (Patriarch) on Jul 15, 2007 at 08:00 UTC |