Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Re: Re: Re: A delay effect...

by kiat (Vicar)
on Jan 05, 2002 at 16:58 UTC ( [id://136516] : note . print w/replies, xml ) Need Help??


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:~$