summaryrefslogtreecommitdiff
path: root/pod/perlop.pod
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>2000-03-13 12:40:51 +0000
committerGurusamy Sarathy <gsar@cpan.org>2000-03-13 12:40:51 +0000
commit0f897271b6be7c9dd375b24f4ef419a35f6c8989 (patch)
tree17d374bdc7879ef1738a39563133e432f1ee5331 /pod/perlop.pod
parentd3a7d8c7d7e4d69d7d81e4e3e900ec57f07ca07c (diff)
downloadperl-0f897271b6be7c9dd375b24f4ef419a35f6c8989.tar.gz
mention autoflush portability caveat
p4raw-id: //depot/perl@5703
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r--pod/perlop.pod6
1 files changed, 6 insertions, 0 deletions
diff --git a/pod/perlop.pod b/pod/perlop.pod
index 5e4ce937fa..a81f7fe8b2 100644
--- a/pod/perlop.pod
+++ b/pod/perlop.pod
@@ -1051,6 +1051,12 @@ multiple commands in a single line by separating them with the command
separator character, if your shell supports that (e.g. C<;> on many Unix
shells; C<&> on the Windows NT C<cmd> shell).
+Beginning with v5.6.0, Perl will attempt to flush all files opened for
+output before starting the child process, but this may not be supported
+on some platforms (see L<perlport>). To be safe, you may need to set
+C<$|> ($AUTOFLUSH in English) or call the C<autoflush()> method of
+C<IO::Handle> on any open handles.
+
Beware that some command shells may place restrictions on the length
of the command line. You must ensure your strings don't exceed this
limit after any necessary interpolations. See the platform-specific