in reply to Building multiline qx// shell commands

You could always remove the line breaks:
my $cmd = ' ... ... '; $cmd =~ s/\n/ /g; my $output = `$cmd`;