in reply to Perl not updating Log File

Again, you fail to use strict; as mentioned in previous posts