$| = 1; # ... your code