Set autoflush from the command line WWW: http://search.cpan.org/dist/Devel-Autoflush/