In fact, I also use Camelbox (which is just great) but plain old Tk. I don't know how Gtk2 works. Do you pack the Perl distribution in an archive or executable? What do you do with non-core modules? Thank you! | [reply] |
I don't distribute programs.... I write for my own machines, and for educational examples. But, if I was to do it, I would put your code into it's own module, then tar gzip it up, and you could mail it to them on disks, or deliver it electronically to them. I asked Captain Jack once, about including Tk in Camelbox, but there was some problem. Anyways, you can convert most Tk apps to a Gtk2 app, and you probably should look at ActiveState's Tkx and ActivePerl.
The original allure of Tk on Windows was that ActivePerl included a running Tk.... but no more.....ActiveState got tired of waiting for Tk to modernize, and spun off their own....Tkx.... so why not write in Tkx?..... it's probably better for you on Window's platforms.... they probably have an installer for you app too.
| [reply] |
Thanks for your answer. I will take a look at ActiveState Perl again. I think I decided to use Camelbox in the first place because it comes with Tk and PAR::Packer and I couldn't make Tk work with ActiveState Perl (this might be the case because I sometimes suck at solving problems).
| [reply] |
I use camelbox as well. It comes with the option to install pp. Pack your application with this command:
pp --gui --icon hello.ico -o out.exe hello.pl
| [reply] [d/l] |
I installed pp and I am trying very hard to do use it (see my response to Corion) but for various reasons I struggle to succeed. It is a simple task for small programs and should be for larger ones too, but dependencies come in the way and make it quite difficult to achieve.
| [reply] |
| [reply] |
Many thanks for sharing, Its works great for me and myself started gaming with it.
| [reply] |