- or download this
C:\test>assoc .pl
.pl=perl_script
C:\test>ftype perl_script
perl_script=e:\perl\bin\perl.exe -w %1 %*
- or download this
@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
- or download this
goto endofperl
:WinNT
- or download this
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
...
@rem ';
#!perl
#line 15