On Jul 09 2001, [EMAIL PROTECTED] wrote:
> while (1) {
> print $chars[$i++], "\r";
> select(undef, undef, undef, PAUSE);
> }
The index of the array/list should be ($i++)%@chars instead,
so that it does not get out of bounds.
[]s, Roger...
--
=-=-=-=
On Jul 9, [EMAIL PROTECTED] said:
>I don't fully understand why yet; that select(undefPAUSE) 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
In this case you are just using the select for the time out and not
concerned about the other actions of select.
Wags ;)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 16:27
To: [EMAIL PROTECTED]
Subject: Re: timer/display
I don't fully understand why yet; that select(undefPAUSE) thing eludes
me, but I'll hit the books tonight.
-John
Jeff 'japhy'