in reply to Re: commandline ftpssl client ... a Tk frontend with Perl
in thread commandline ftpssl client with Perl

You don't lock any of the shared variables; race conditions make for nasty bugs. Any reason not to use Thread::Queue?

  • Comment on Re^2: commandline ftpssl client ... a Tk frontend with Perl

Replies are listed 'Best First'.
Re^3: commandline ftpssl client ... a Tk frontend with Perl
by zentara (Cardinal) on Jul 06, 2014 at 19:08 UTC
    Good criticisms. I don't use Thread::Queue because I like to keep full control over my thread .... A queue seems to be an added abstraction layer, although if you know a way to make it easily work in my Tk code, feel free to post it.

    I think I will make the input entry insensitive, so that $go and $com pose no threat.

    I'm trying to figure out Git, so I can make a repository, for these apps. Everyone sees a way to improve it. :-)


    I'm not really a human, but I play one on earth.
    Old Perl Programmer Haiku ................... flash japh

      Very cool. And quite handy.

      Thanks.

      BTW, an easier to use and install alternative to Git that you might consider is Fossil. Free hosting for Fossil repositories is available from Sourceforge, ChiselApp and a few others. (Chisel uses a more up to date version of Fossil.)

      Fossil is also easy to self-host. Unlike Git, it does not require a webserver.