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


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

Hi Juerd,

Yes, there is indeed a pause of two seconds. But say I have two print statements and I want the pause to come between them, is that possible?

print "Congrats!<br>"; sleep 2; print "You guessed you it!";
kiat