http://www.perlmonks.org?node_id=136516


in reply to Re: Re: Re: A delay effect...
in thread A delay effect...

Hi juerd,

Your solution doesn't seem to produce the desired result. There four statements are printed at the same time after the long pause, not one after another after each pause.

kiat

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: A delay effect...
by Juerd (Abbot) on Jan 05, 2002 at 17:31 UTC
    You are suffering from buffering.
    Either add linebreaks or set $| to 1 ($| = 1;)

    2;0 juerd@ouranos:~$ perl -e'undef christmas' Segmentation fault 2;139 juerd@ouranos:~$