Perl-Sensitive Sunglasses | |
PerlMonks |
Re: Term::Twiddle on Win32 or how to use spinnerby BrowserUk (Patriarch) |
on Feb 15, 2003 at 06:14 UTC ( [id://235510]=note: print w/replies, xml ) | Need Help?? |
Here's a roll-your-own asynchronous spinner using fork under Win32. It's pretty crude as-is, but could be fairly easily wrapped up in a nicer interface. Update: Added a 100ms sleep (select) to stop the spinner using half the CPU.
Examine what is said, not who speaks. The 7th Rule of perl club is -- pearl clubs are easily damaged. Use a diamond club instead.
In Section
Seekers of Perl Wisdom
|
|