Hi helpers,

I'm very new in perl programming(in programming at all acutally) and
wondering about the following piece of code which I was running under
W2K command-line:

print "First";
sleep 2;
print "Second";

I thought the script would print First then wait for 2 seconds and than print Second. But the script ist waiting 2 seconds first and than it print FirstSecond ????

Thanks for your help.

d a n i e l



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to