Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^3: Thread implementation for Win32::GUI

by BrowserUk (Pope)
on Mar 28, 2013 at 05:37 UTC ( #1025854=note: print w/ replies, xml ) Need Help??


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.


Comment on Re^3: Thread implementation for Win32::GUI
Download Code
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.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2014-08-30 03:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (291 votes), past polls