Help for this page
use strict; use warnings; ... print LOG (localtime).": something\n"; sleep(30); # if I comment this, print works }
use strict; use warnings; ... sleep(30); } close LOG or die "can't close log: $!";