Before going too far down the path of continuing to use Perl::Tk I would read Perl TK and the relevant responses.

I'm responding because I got excited about using Perl::Tk once and started writing things similar to your problem until I realized that the client needed Perl and to have Tk installed on their machines. My tests revealed that, in certain cases, Perl::Tk will not install properly:

sudo cpan -i Tk ... Using -L/usr/lib to find /usr/lib/libX11.so.6.2.0 Cannot find X include files via /usr/include Cannot find X include files anywhere. You probably need to install the X11 development package first. ... Running make test Make had some problems, won't test Running make install Make had some problems, won't install

Once I was done answering the question, 'how often do I want to fight fires like this?' I opted for a different approach. For me, I abandoned trying to deploy rich GUI stuff and moved on to writing rich Internet applications instead. Nowadays what you can do with JavaScript has gotten so close to what could once only be done via a GUI that, in most instances, writing things to be installed on a desktop is just not worth the aggravation.

Remember that applications can all suffer from the 'popularity' problem. If what you wrote gets popular -- even in a corporate environment -- your installed base increases and so does the amount of effort it takes to maintain the application across versions. With a web application you can deploy new versions in a snap. With GUIs now you have to figure out how to update everyone's machine.

Another route you might want to consider, provided you have a small number of users, might be to use VNC as discussed here http://www.techotopia.com/index.php/Remote_Access_to_the_Ubuntu_Linux_Desktop#Accessing_a_Remote_Ubuntu_Linux_Desktop_from_a_Windows_System. This will not stave off the popularity problem but can work in a pinch.

Celebrate Intellectual Diversity


In reply to Re: Converting Tk based Perl to be used on the Interent by InfiniteSilence
in thread Converting Tk based Perl to be used on the Interent by merrymonk

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.