in reply to Building multiline qx// shell commands

You could always just use the other syntax form of qx... readpipe:
my $result = readpipe join(q{}, 'some text here ', 'more text here ', 'more here', );