in reply to [solved] autoflush STDOUT 1 does not need import?
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: autoflush STDOUT 1 does not need import?
by basiliscos (Pilgrim) on Sep 14, 2015 at 14:13 UTC |