Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^4: Perl TK threads using while

by zentara (Archbishop)
on Feb 07, 2012 at 10:26 UTC ( [id://952238]=note: print w/replies, xml ) Need Help??


in reply to Re^3: Perl TK threads using while
in thread Perl TK threads using while

And every 3 seconds i want to display the status of process like Download in Process, Watching the Folder, No file found/ if found, Process started for file no.1/ Copying the file to server, sending e-mail.

Thats a pretty big request considering the code you posted. It would take me all day to properly write and test such a script. This is not a script writing service.

My advice, is to break your program down into smaller parts, and get each working separately, then work on combining them. If you want to do something every 3 seconds, use a timer.

use Tk; my $timer = $mw->repeat( 3000, \&my_sub);

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

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (2)
As of 2024-04-26 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found