in reply to Tk on Win32 - how to avoid background console window

if you use activestate perl under windows, you could run it with the wperl.exe found in your perl\bin directory

For perl/tk-scripts, I usually use the file ending of .ptk, and associate this ending with wperl. so, for development, I can execute it with perl script.ptk and have a doswindow, and for the final version, I just execute it script.ptk and get rid of this window.

You can associate .ptk with wperl.exe the following way:

assoc .ptk=PerlTk ftype PerlTk=c:\perl\bin\wperl.exe "%1" %*

(if you want some fun, read the output of ftype /? under WinNT/2k/XP/2003... perl really seems to be supported by M$)

Best regards,
perl -e "s>>*F>e=>y)\*martinF)stronat)=>print,print v8.8.8.32.11.32"

Replies are listed 'Best First'.
Re^2: Tk on Win32 - how to avoid background console window
by biochris (Beadle) on Jan 18, 2005 at 14:08 UTC
    Realy cool. Thank you.