Wow! thank you -- thank you -- everyone for your help. Win32::GUI::DoEvents worked great and is exactly what I am looking for.
final solution -- in case anyone wants to know -- look something like this: foreach(0..10){ $Win->main->Text($_); sleep 1; Win32::GUI::DoEvents } al --- Stephen Pick <[EMAIL PROTECTED]> wrote: > Hi, > > Try calling Win32::GUI::DoEvents after each output update. This performs > one GUI event tick and returns immediately afterwards. > > Steve > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of > > Alex Lee > > Sent: 12 February 2004 04:35 > > To: perl-win32-gui-users@lists.sourceforge.net > > Subject: [perl-win32-gui-users] real-time output > > > > > > Dear group: Just wondering if someone knows how I can output > > text in real-time through some kind > > of control (i.e lable textfield). > > > > > > for example: > > ################################ > > foreach(0..10){ > > > > output somewhere (label) > > sleep 1; > > > > } > > ################################# > > > > When I try this it waits until it hits ten and outputs > > everything at once. Yuck! > > Thanks in advance. > > Al > > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! Finance: Get your refund fast by filing online. > > http://taxes.yahoo.com/filing.html > > > > > > ------------------------------------------------------- > > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > > Build and deploy apps & Web services for Linux with > > a free DVD software kit from IBM. Click Now! > > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click > > _______________________________________________ > > Perl-Win32-GUI-Users mailing list > > Perl-Win32-GUI-Users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users > > ===== ************************** ***** END OF MESSAGE ***** __________________________________ Do you Yahoo!? Yahoo! Finance: Get your refund fast by filing online. http://taxes.yahoo.com/filing.html