bash# AUTOFLUSH=1 /path/to/script.pl