Perl programs I've written earlier were simple text processing scripts, for executing them I use to use terminal. Now I am learning GUI programming(I want to make some games as a hobby), using Tcl/TK library for Perl.
I've used a sample Hello, World! dialog program provided in the tutorial. When I execute it using terminal it was working properly, but when I try to execute by clicking the file icon, its giving me some options, like
run in terminal, Display, Cancel, Run
None of them are producing any dialog-box, previously it produced when executed using terminal.
I've searched Google for any suggestions, but I found none. Many of them are facing the same issue(from un-answered questions in various forums).
When I double-click on
hello-world_tcl.plI want it to execute it.
Can I change the icon of the executable script ?