http://www.perlmonks.org?node_id=1025854


in reply to Re^2: Thread implementation for Win32::GUI
in thread Thread implementation for Win32::GUI

If you add:

use strict; use warnings;

To the top of your program and then fix-up all the warnings you get; and then format your code so that it is readable; and post that.

And then explain why you are defining functions within functions?

And then explain what problems you are having adding threading?

You might get some help.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

Replies are listed 'Best First'.
Re^4: Thread implementation for Win32::GUI
by ckant8 (Acolyte) on Mar 28, 2013 at 08:30 UTC
    i have updated my code above same page. But i can't post actual script. Similar activities(ls,..) will do on host and print output in GUI. I am a beginner to Perl and Thread implementation. I have gone through the "http://search.cpan.org/~jdhedden/Thread-Queue-3.02/lib/Thread/Queue.pm", but i am confused how to start in my script. Please let me know is there any way to stop GUI hang. If you can help me, it will be a great help to me.