diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-11 17:46:09 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2003-05-11 17:46:09 +0000 |
commit | 44cb023c103cc81b473c5000d0fc536254700a93 (patch) | |
tree | 9b80f95e2f82555db093cab1c1580d0ac524671e /t/test.pl | |
parent | 4cd2bd1f390724a103e72b993d7f67fb405628ad (diff) | |
download | perl-44cb023c103cc81b473c5000d0fc536254700a93.tar.gz |
Try to handle a $^X with spaces in it.
p4raw-id: //depot/perl@19490
Diffstat (limited to 't/test.pl')
-rw-r--r-- | t/test.pl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -366,7 +366,7 @@ sub _quote_args { sub _create_runperl { # Create the string to qx in runperl(). my %args = @_; - my $runperl = $^X; + my $runperl = $^X =~ m/\s/ ? qq{"$^X"} : $^X; unless ($args{nolib}) { if ($is_macos) { $runperl .= ' -I::lib'; |