If Win32::GUI would be thread-safe :) POE is for sure a very nice abstraction layer for process management.
I would also recommend reading an ordinary win32 sdk book, the charles petzold "Programming Windows" probably. http://www.relisoft.com/win32/ if you borrow it from a library you'll get the cd, where the complete text is in chm! (4mb) This book would answer 80% if the questions here, btw. The very good perl cookbook has some good descriptions on process management, blocking, locks, threads, forks and alarms. There exists also a fulltext version in html. I don't fully understand this yet. but i think that your web monitor example is covered in the cookbook. Ludvig af Klinteberg schrieb: > I just read some about POE (Perl Object Environment - > http://poe.perl.org), and it seems really interesting. I had the idea > that by combining POE and Win32::GUI you could perhaps create a UI > program that doesn't freeze whenever it's doing something time > consuming. (e.g. sending/receiving data over a network) > > Some time ago I wrote a small program using Win32::GUI and > LWP::UserAgent that downloaded a web page every X minutes and checked if > it had been updated, and if it had the program popped up a window on the > screen. The only problem was that it was impossible to interact with the > program while it was downloading this (quite large) page from the > (rather slow) server. The idea struck me that maybe rewriting the whole > thing using POE might solve my troubles? As I said, I have no experience > with POE, but if it could be successfully combined with Win32::GUI I > would definitely look into it. So, can it be done? Has anyone with POE > knowledge tried it? -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/