Alien-BatToExeConverter

 view release on metacpan or  search on metacpan

t/data/foo.bat  view on Meta::CPAN

@rem = '--*-Perl-*--
@echo off
if "%OS%" == "Windows_NT" goto WinNT
perl -e "print 'Hello World!'"
goto endofperl
:WinNT
perl -e "print 'Hello World!'"
if NOT "%COMSPEC%" == "%SystemRoot%\system32\cmd.exe" goto endofperl
if %errorlevel% == 9009 echo You do not have Perl in your PATH.
if errorlevel 1 goto script_failed_so_exit_with_non_zero_val 2>nul
goto endofperl
@rem ';
#!/usr/bin/perl
#line 1
:endofperl



( run in 0.399 second using v1.01-cache-2.11-cpan-d7f47b0818f )