Pathologically Eclectic Rubbish Lister | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
That's very interesting.
I guess my initial experience on Turbo C gave me this opposite feeling.
The above code, when running on Windows Turbo C, it prints 123 every second without the necessity of a NL character. But when compiled on g++ on Unix, it never prints anything because of no NL for the stream to be flushed. But ActicePerl on Windows has the same behavior as on Unix, i.e. it prints nothing without seeing an NL character. Is this because Perl tries hard to make itself platform independent, or it's because that Turbo C is archaic and has such different behavior than every one else? In reply to Re^2: The delay of printing encountered using loop
by Diamondust
|
|