Michael G. Schwern [Fri, 11 Jan 2002 17:08:17 +0000 (12:08 -0500)]
Message-ID: <
20020111220817.GG2838@blackrider>
p4raw-id: //depot/perl@14201
my($prog,$expected) = split(/\nEXPECT\n/, $raw_prog);
- kill_perl($prog, $expected, { switches => $switch }, $name);
+ kill_perl($prog, $expected, { switches => [$switch] }, $name);
}
__END__
my %args = @_;
my $runperl = $^X;
if ($args{switches}) {
- _quote_args(\$runperl,
- ref $args{switches} ? $args{switches} : [$args{switches}]);
+ _quote_args(\$runperl, $args{switches});
}
unless ($args{nolib}) {
if ($is_macos) {