Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re: Converting Tk based Perl to be used on the Interent

by InfiniteSilence (Curate)
on May 17, 2014 at 13:20 UTC ( #1086436=note: print w/replies, xml ) Need Help??

in reply to Converting Tk based Perl to be used on the Interent

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/ 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 This will not stave off the popularity problem but can work in a pinch.

Celebrate Intellectual Diversity

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1086436]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2022-01-25 15:27 GMT
Find Nodes?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:

    Results (66 votes). Check out past polls.