in reply to Hiding DOS windows that accompany TK
I dont know what tool you are using to make exe from pl file.
If you are using "PAR" module, then use the following syntax:
pp --gui --icon Icon.ico -o sample.exe sample.pl
I hope it would be useful for you
Regards
Srikrishnan