diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-13 12:40:51 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 2000-03-13 12:40:51 +0000 |
commit | ea51c80a5b3925519c5b440ff18bf31ad7939d5f (patch) | |
tree | 17d374bdc7879ef1738a39563133e432f1ee5331 /pod/perlop.pod | |
parent | c8fb55d18cd8451b03663f333ebc053a6b458c90 (diff) | |
download | perl-ea51c80a5b3925519c5b440ff18bf31ad7939d5f.tar.gz |
mention autoflush portability caveat
p4raw-id: //depot/perl@5703
Diffstat (limited to 'pod/perlop.pod')
-rw-r--r-- | pod/perlop.pod | 6 |
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 |