http://qs321.pair.com?node_id=474384

tomazos has asked for the wisdom of the Perl Monks concerning the following question:

(Primer: This node contains sarcasm. The purpose here is of course to ask what is involved in shipping a Perl/Tk app in general, not this specific Hello World example.)

I've written this amazing Perl/Tk application. Here goes:

#!/usr/bin/perl use strict; use warnings; use Tk; my $mw = MainWindow->new(); $mw->Label(-text => 'Hello, world!')->pack(); $mw->Button(-text => 'Quit', -command => sub { exit } )->pack(); MainLoop;

Wow. Are you impressed? I bet you are.

Now I am ready to ship it. I want to deploy it such that someone can click on a URL and have the application downloaded and installed on Unix, Mac and Windows with a minimum of fuss. My end users may not have Perl and/or Tk installed on their machine.

What are the options? Is it possible to compile the perl interpretter, whatever modules I use and Tk into one bundle and installer?

Also, what are the licensing implications? Can I then charge people for my amazing "Hello Wolrd" application?


Andrew Tomazos  |  andrew@tomazos.com  |  www.tomazos.com