in reply to Running on DOS without the DOS box?

wperl. If you have ActivePerl, then you'll already have it as wperl.exe on your harddisk, next to the original executable, perl.exe. You use it instead of the normal perl executable to run your script. Both are exactly the same executable, approximatly 5k in size, which loads the actual Perl interpreter as a DLL, and the difference between the two is one byte. See these docs for how it has been accomplished. ("exetype" is a Perl script that is also part of the distribution. You should have it as "exetype.pl" or as "exetype.bat".)
  • Comment on Re: Running on DOS without the DOS box? -> wperl

Replies are listed 'Best First'.
Re: Re: Running on DOS without the DOS box?
by sweetblood (Prior) on Oct 30, 2003 at 14:37 UTC
    That's a great tip, I never knew that. Several years ago I was asked to write a consoleless application on M$ Windoze to launch perl startup scripts. It would have been great to know about wperl back then. But I was not programming in Perl in those days.
Re: Re: Running on DOS without the DOS box?
by DaWolf (Curate) on Oct 30, 2003 at 13:37 UTC
    Thanks a lot, bart. Sometimes this linux/windows thing make me a bit confused and I forget to take a look at ASPN. :)

    my ($author_nickname, $author_email) = ("DaWolf","erabbott\@terra.com.br") if ($author_name eq "Er Galvão Abbott");