I've started developing little Perl/Tk applications on Win32.
On my system runs ActivePerl-5.6.1.629 and the Tk module.
When I start a newly written programm (click on the shortcut icon on the
desktop) the perl interpreter is invoked in a DOS box and the GUI
programm starts in an other window. That's ok, but I don't want the
command shell window opens every time I start my little GUI app. I know
that I can fire up my programm with the c:\>perl app.pl command but I
want it to start only with a click on the desktop icon without opening
the command shell.
Who can help me?
Thanks a lot
Oliver
1) Use perl.exe - console application and
"manually" close DOS window
if ($^O eq 'MSWin32') {
require Win32::Console;
Win32::Console::Free();
}
2} Use wperl.exe - GUI version of perl - instead
of perl.exe. No DOS window appears
Warning:
if using perl.exe, you are working in OEM coding
x
wperl.exe uses ANSI coding.
Tk uses ANSI coding.
MaT
"Oliver Grenz" <oliver...@huber-spedition.de> wrote in message
news:3BC2C57E...@huber-spedition.de...
Regards
Holger
--
Holger Nauendorff
mail: hol...@nauendorff.de
Public-Key: http://wwwkeys.de.pgp.net
GnuPG-Fingerprint: C942 F155 7417 155D ABA3 8B0C 725B 71C6 6183 BA58
Bart
"Holger Nauendorff" <hol...@nauendorff.de> wrote in message
news:jn4vp9...@gandalf.nauendorff.de...
Holger
Holger