Perl Monk, Perl Meditation | |
PerlMonks |
Re^3: Gtk2 app -- what's better, threads, or multiple timeouts?by GrandFather (Saint) |
on Feb 06, 2009 at 05:28 UTC ( [id://741801]=note: print w/replies, xml ) | Need Help?? |
The golden rule of event driven code is "never wait". Often that means that you need to initiate a process (start the fetch) then return and handle the reply some time in the future. One thing that implies is that you can only make non-blocking calls in the event processing. Perl's payment curve coincides with its learning curve.
In Section
Seekers of Perl Wisdom
|
|