diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-11 14:31:17 +0000 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2002-01-11 14:31:17 +0000 |
commit | add55984a417ef0bc7fcde2e3ae7dd9e93bbf85b (patch) | |
tree | ab5ff87522711679db9309f850809538403309b4 /t | |
parent | 851f49a849a679759595bd28f6015f99357a2ec6 (diff) | |
download | perl-add55984a417ef0bc7fcde2e3ae7dd9e93bbf85b.tar.gz |
Yet another twist.
p4raw-id: //depot/perl@14188
Diffstat (limited to 't')
-rw-r--r-- | t/test.pl | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -280,7 +280,8 @@ sub runperl { my %args = @_; my $runperl = $^X; if ($args{switches}) { - _quote_args(\$runperl, $args{switches}); + _quote_args(\$runperl, + ref $args{switches} ? $args{switches} : [$args{switches}]); } unless ($args{nolib}) { if ($is_macos) { |