This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
#!/usr/bin/perl-current misparse
authorMichael G. Schwern <schwern@pobox.com>
Sun, 12 May 2002 19:32:58 +0000 (15:32 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Mon, 13 May 2002 00:46:11 +0000 (00:46 +0000)
Message-ID: <20020512233258.GK696@blackrider>

p4raw-id: //depot/perl@16570

t/TEST

diff --git a/t/TEST b/t/TEST
index 47560cd..9ac287a 100755 (executable)
--- a/t/TEST
+++ b/t/TEST
@@ -206,7 +206,7 @@ EOT
        open(SCRIPT,"<$test") or die "Can't run $test.\n";
        $_ = <SCRIPT>;
        close(SCRIPT) unless ($type eq 'deparse');
-       if (/#!.*\bperl.*-\w*([tT])/) {
+       if (/#!.*\bperl.*\s-\w*([tT])/) {
            $switch = qq{"-$1"};
        }
        else {