On Wednesday, August 14, 2002, at 04:21 , Joe Mecklin wrote:
> Thanks for all the leads and suggestions. I couldn't quite wrap my mind > around making select() work for what I want but Time::HiRes works great. > > Joe [..] >> >> http://search.cpan.org/author/JHI/perl-5.8.0/ext/Time/HiRes/HiRes.pm >> http://search.cpan.org/author/DEWEG/Time-HiRes-01.20/HiRes.pm >> On Aug 13, john offered us: > The select function can be used for this. > > perldoc -f select > [snip] > You can effect a sleep of 250 milliseconds this > way: > > select(undef, undef, undef, 0.25); > p0: technically I like john's basic thesis - since it is what you are sorta wanting - and would not require the Time::HiRes module.... p1: when you are concerned about any option proposed there are two basic strategies 1.1: code up the idea - see if it flies 1.2: code up the alternative and compare it p2: never be afraid to install Mind::Bender as it will help with managing the warpage that perl can cause.... just remember that when you are installing it in your neural pathways to have a friend around in case any of the make test sequences fail - since rebooting a brain can be a really ugly thing.... ciao drieux http://www.wetware.com/drieux/pbl/ -------------- the voices in my head make me write these things.... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]