Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
If I run this code, it will sleep first, then print 'go to sleep', then 'woke up'. Why?print "go to sleep... "; sleep 5; print "woke up.";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: print sleep print
by Beatnik (Parson) on Jun 26, 2001 at 16:43 UTC | |
|
Re: print sleep print
by Sifmole (Chaplain) on Jun 26, 2001 at 16:53 UTC | |
by tye (Sage) on Jun 26, 2001 at 19:02 UTC | |
by Abigail (Deacon) on Jun 26, 2001 at 22:56 UTC | |
by Anonymous Monk on Jun 26, 2001 at 23:38 UTC | |
|
Re: print sleep print
by Masem (Monsignor) on Jun 26, 2001 at 16:40 UTC |