basiliscos has asked for the wisdom of the Perl Monks concerning the following question:
I do not understand, why the following code
Works without any import? I expected that strict/warnings should complain, unless I have something like:use strict; use warnings; autoflush STDOUT 1;
use strict; use warnings; use IO::Handle; autoflush STDOUT 1;
The autoflush isn't listed among perl build-in functions. Why it is imported by default? Where (perldoc) I can read about it and similar surprises?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: autoflush STDOUT 1 does not need import?
by choroba (Cardinal) on Sep 14, 2015 at 12:42 UTC | |
|
Re: autoflush STDOUT 1 does not need import?
by nevdka (Pilgrim) on Sep 14, 2015 at 12:33 UTC | |
by basiliscos (Pilgrim) on Sep 14, 2015 at 14:13 UTC | |
|
Re: autoflush STDOUT 1 does not need import?
by CountZero (Bishop) on Sep 14, 2015 at 12:53 UTC | |
|
Re: autoflush STDOUT 1 does not need import?
by shmem (Chancellor) on Sep 14, 2015 at 14:23 UTC |