On Jul 9, [EMAIL PROTECTED] said:
>I don't fully understand why yet; that select(undef....PAUSE) thing eludes
>me, but I'll hit the books tonight.
> select(undef, undef, undef, PAUSE);
The docs for 4-arg select() have an example which you should take a look
at. 4-arg select() is used for checking filehandles for readiness to give
or receive data, and the 4th arg is how long to wait. When the first
three args are undef, we're not doing anything -- just waiting for the
prescribed amount of time. And, unlike sleep(), 4-arg select() doesn't
require an integer amount of time.
--
Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/
I am Marillion, the wielder of Ringril, known as Hesinaur, the Winter-Sun.
Are you a Monk? http://www.perlmonks.com/ http://forums.perlguru.com/
Perl Programmer at RiskMetrics Group, Inc. http://www.riskmetrics.com/
Acacia Fraternity, Rensselaer Chapter. Brother #734
** Manning Publications, Co, is publishing my Perl Regex book **