in reply to How do you distribute your Perl application to your customers?

See Camelbox: A build of Gtk2-Perl for Windows.... works great for me, in limited testing. It installed Perl5.10 in my last test, plus you get a working Gtk2 GUI toolkit, for making fancy windowed applications.

I'm not really a human, but I play one on earth.
Old Perl Programmer Haiku
  • Comment on Re: How do you distribute your Perl application to your customers?

Replies are listed 'Best First'.
Re^2: How do you distribute your Perl application to your customers?
by kg (Acolyte) on Jan 11, 2010 at 14:27 UTC
    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!
      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.


      I'm not really a human, but I play one on earth.
      Old Perl Programmer Haiku
        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).
Re^2: How do you distribute your Perl application to your customers?
by jeffreyray (Sexton) on Jan 12, 2010 at 02:01 UTC
    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
      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.

        You've still not detailed any problems you've had using pp. Unless you tell us what is going wrong, we can't advise beyond suggesting reading the pp documentation and the website. We'd rather not have to guess or extract the information from you piecemeal. See How do I post a question effectively?.

      Many thanks for sharing, Its works great for me and myself started gaming with it.