in reply to
writing to a log file....
Or possibly this is a buffering issue.
The data gets written to the actual file only if a certain amount of it is accumulated in the buffer. (Or something to that effect.)
Try select LOG; $|++; before the first </code>print LOG</code> statement or simply $|++; at the beginning of your file.
Use subroutines for code reuse
Master regular expressions
Write my GUIs with Perl
Abandon CGI in favor of some modern web framework
Put my code in modules
Create CPAN distributions
test and document my code as I write it
Write OOP with or without animal help
Finally switch to a modern Perl style
Create a killer application with Perl
Detoxify from Perl and PerlMonks
Choose another language because Perl is dead
Learn to program for mobile devices
Complete my secret world domination project
None, because the road to hell is paved with good intentions
Results (239 votes),