@rem = ' @echo off goto BEGINBAT # ----------------------------------------------- # # Do not run this software, it will make you die. # # ----------------------------------------------- # :BEGINBAT rem search the path if batch is not in current directory set PARGS= if not exist %0.bat set PARGS=-S perl %PARGS% %0.bat %1 set PARGS= goto ENDOFBAT :USAGE echo Print some usage info here. goto ENDOFBAT '; # Perl Script goes here. ++$|; print < "; $time = <>; chomp $time; print "\n"; exit if $time =~/^q/i; } while ($time ne $time+0); return $time; } __END__ :ENDOFBAT