$| = 1; # Autoflush on, buffering off. $| = 0; # Autoflush off, buffering on. $|++; # $| = 1 $|--; # $| = !$| (flip setting 0/1)