With Activestate-Perl, there's also another possibility: in the perl/bin-Directory exists a binary called wperl.exe. If you use this instead of perl.exe for tk-Scripts, the shellwindow is automatically removed.
Perhaps you could assotiate the ending .ptk or the like with wperl.exe ...
Best regards,
perl -le "s==*F=e=>y~\*martinF~stronat~=>s~[^\w]~~g=>chop,print"