perldoc under OS/2
[p5sagit/p5-mst-13.2.git] / win32 / bin / runperl.bat
CommitLineData
156a3eb7 1@rem = '--*-Perl-*--
2@echo off
3perl -x -S %0 %*
4goto endofperl
5@rem ';
6#!perl -w
7#line 8
8$0 =~ s|\.bat||i;
9unless (-f $0) {
10 $0 =~ s|.*[/\\]||;
11 for (".", split ';', $ENV{PATH}) {
12 $_ = "." if $_ eq "";
13 $0 = "$_/$0" , goto doit if -f "$_/$0";
14 }
15 die "`$0' not found.\n";
16}
17doit: exec "perl", "-x", $0, @ARGV;
18die "Failed to exec `$0': $!";
19__END__
20:endofperl