My understanding of this is that you're using indirect object notation, calling the autoflush method on the STDOUT file handle. That line is essentially the same as:
STDOUT->autoflush(1)You don't need to import anything to call methods on objects. STDOUT is an object that supports the autoflush method, so you don't need to import anything to get it.
In reply to Re: autoflush STDOUT 1 does not need import?
by nevdka
in thread [solved] autoflush STDOUT 1 does not need import?
by basiliscos
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |