From: Jarkko Hietaniemi Date: Fri, 11 Jan 2002 14:31:17 +0000 (+0000) Subject: Yet another twist. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=add55984a417ef0bc7fcde2e3ae7dd9e93bbf85b;p=p5sagit%2Fp5-mst-13.2.git Yet another twist. p4raw-id: //depot/perl@14188 --- diff --git a/t/test.pl b/t/test.pl index 379e136..5f358b9 100644 --- a/t/test.pl +++ b/t/test.pl @@ -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) {