2007/11/19, zentara <[EMAIL PROTECTED]>:
>
> On Mon, 19 Nov 2007 00:14:29 +0800, [EMAIL PROTECTED] (Panda-X)
> wrote:
>
> >Hi all,
> >
> >Below is my code. With this code, 12345 will show at once
> >after 5 seconds I click the button.
> >But what I want is to insert() each number per second.
> >Is
On 11/18/07, Panda-X <[EMAIL PROTECTED]> wrote:
> Any more clues ?
This is a forum for Perl beginners, but there are forums available
specifically for all of the major modules used with Perl. Some modules
have more than one forum. As you might expect, you'll generally get
better answers faster by
2007/11/19, Tom Phoenix <[EMAIL PROTECTED]>:
>
> On 11/18/07, Panda-X <[EMAIL PROTECTED]> wrote:
>
> > But what I want is to insert() each number per second.
>
> > sub RollText{
> > for ( 1..5 ) {
> > $_[0] ->{mw}{box} -> insert ( 'end', $_ ) ;
> > sleep 1;
> > }
> > }
>
> You p
On 11/18/07, Panda-X <[EMAIL PROTECTED]> wrote:
> But what I want is to insert() each number per second.
> sub RollText{
> for ( 1..5 ) {
> $_[0] ->{mw}{box} -> insert ( 'end', $_ ) ;
> sleep 1;
> }
> }
You probably don't want sleep() there; the after() method is generally
th