\$escaping the $vars in !GROK!THIS! section is a good idea.
Jarkko Hietaniemi [Fri, 18 May 2001 17:05:40 +0000 (17:05 +0000)]
p4raw-id: //depot/perl@10157

x2p/s2p.PL

index 69d0c04..70aa03d 100644 (file)
@@ -29,8 +29,8 @@ print OUT <<"!GROK!THIS!";
 $Config{startperl}
     eval 'exec $Config{perlpath} -S \$0 \${1+"\$@"}'
        if \$running_under_some_shell;
-my $startperl;
-my $perlpath;
+my \$startperl;
+my \$perlpath;
 (\$startperl = <<'/../') =~ s/\\s*\\z//;
 $Config{startperl}
 /../