icon Top 9 categories map      RocketAware > Perl >

autoflush HANDLE EXPR
$OUTPUT_AUTOFLUSH
$|

Tips: Browse or Search all pages for efficient awareness of Perl functions, operators, and FAQs.



Home

Search Perl pages


Subjects

By activity
Professions, Sciences, Humanities, Business, ...

User Interface
Text-based, GUI, Audio, Video, Keyboards, Mouse, Images,...

Text Strings
Conversions, tests, processing, manipulation,...

Math
Integer, Floating point, Matrix, Statistics, Boolean, ...

Processing
Algorithms, Memory, Process control, Debugging, ...

Stored Data
Data storage, Integrity, Encryption, Compression, ...

Communications
Networks, protocols, Interprocess, Remote, Client Server, ...

Hard World
Timing, Calendar and Clock, Audio, Video, Printer, Controls...

File System
Management, Filtering, File & Directory access, Viewers, ...

    
autoflush HANDLE EXPR
$OUTPUT_AUTOFLUSH
$|
If set to nonzero, forces a flush right away and after every write or print on the currently selected output channel. Default is 0 (regardless of whether the channel is actually buffered by the system or not; $| tells you only whether you've asked Perl explicitly to flush after each write). Note that STDOUT will typically be line buffered if output is to the terminal and block buffered otherwise. Setting this variable is useful primarily when you are outputting to a pipe, such as when you are running a Perl script under rsh and want to see the output as it's happening. This has no effect on input buffering. (Mnemonic: when you want your pipes to be piping hot.)

Source: Perl predefined variables
Copyright: Larry Wall, et al.
Next: output_field_separator HANDLE EXPR
$OUTPUT_FIELD_SEPARATOR
$OFS
$,


Previous: input_record_separator HANDLE EXPR
$INPUT_RECORD_SEPARATOR
$RS
$/




(Corrections, notes, and links courtesy of RocketAware.com)


[Overview Topics]

Up to: Stdio Stream file operations
Up to: Text Output




Rapid-Links: Search | About | Comments | Submit Path: RocketAware > Perl > perlvar/autoflush.htm
RocketAware.com is a service of Mib Software
Copyright 2000, Forrest J. Cavalier III. All Rights Reserved.
We welcome submissions and comments