Help for this page
use IO::Handle; ... open LOG ... ... # or flush manually as needed: ... LOG->flush();